1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 include protocol PBackground;
7 include PBackgroundSharedTypes;
8 include ServiceWorkerRegistrarTypes;
10 using mozilla::OriginAttributes from "mozilla/ipc/BackgroundUtils.h";
16 protocol PServiceWorkerManager
21 async Register(ServiceWorkerRegistrationData data);
23 async Unregister(PrincipalInfo principalInfo, nsString scope);
25 async PropagateUnregister(PrincipalInfo principalInfo, nsString scope);
31 } // namespace mozilla