PServiceWorkerManager.ipdl (760B)
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/. */ 4 5 include protocol PBackground; 6 7 include PBackgroundSharedTypes; 8 include ServiceWorkerRegistrarTypes; 9 10 using mozilla::OriginAttributes from "mozilla/ipc/BackgroundUtils.h"; 11 12 namespace mozilla { 13 namespace dom { 14 15 [ManualDealloc] 16 protocol PServiceWorkerManager 17 { 18 manager PBackground; 19 20 parent: 21 async Register(ServiceWorkerRegistrationData data); 22 23 async Unregister(PrincipalInfo principalInfo, nsString scope); 24 25 async PropagateUnregister(PrincipalInfo principalInfo, nsString scope); 26 27 async __delete__(); 28 }; 29 30 } // namespace dom 31 } // namespace mozilla