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;
13 struct ServiceWorkerRegistrationData
16 nsCString currentWorkerURL;
17 bool currentWorkerHandlesFetch;
21 PrincipalInfo principal;
23 uint16_t updateViaCache;
25 int64_t currentWorkerInstalledTime;
26 int64_t currentWorkerActivatedTime;
27 int64_t lastUpdateTime;
29 IPCNavigationPreloadState navigationPreloadState;
33 } // namespace mozilla