no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE
[gecko.git] / dom / serviceworkers / ServiceWorkerRegistrarTypes.ipdlh
blobd84b324797fae8b1406de7f4499dcfec23e3e270
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/. */
7 include IPCNavigationPreloadState;
8 include PBackgroundSharedTypes;
10 namespace mozilla {
11 namespace dom {
13 struct ServiceWorkerRegistrationData
15   nsCString scope;
16   nsCString currentWorkerURL;
17   bool currentWorkerHandlesFetch;
19   nsString cacheName;
21   PrincipalInfo principal;
23   uint16_t updateViaCache;
25   int64_t currentWorkerInstalledTime;
26   int64_t currentWorkerActivatedTime;
27   int64_t lastUpdateTime;
29   IPCNavigationPreloadState navigationPreloadState;
32 } // namespace dom
33 } // namespace mozilla