Source code

Revision control

Other Tools

1
/* -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 8 -*- */
2
/* vim: set sw=4 ts=8 et tw=80 ft=cpp : */
3
/* This Source Code Form is subject to the terms of the Mozilla Public
4
* License, v. 2.0. If a copy of the MPL was not distributed with this
5
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6
7
include PBackgroundSharedTypes;
8
9
namespace mozilla {
10
namespace dom {
11
12
struct ServiceWorkerRegistrationData
13
{
14
nsCString scope;
15
nsCString currentWorkerURL;
16
bool currentWorkerHandlesFetch;
17
18
nsString cacheName;
19
20
PrincipalInfo principal;
21
22
uint16_t updateViaCache;
23
24
int64_t currentWorkerInstalledTime;
25
int64_t currentWorkerActivatedTime;
26
int64_t lastUpdateTime;
27
};
28
29
} // namespace dom
30
} // namespace mozilla