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 file, 3 * You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5include protocol PBackground; 6include protocol PFetchEventOp; 7 8include RemoteWorkerTypes; 9include ServiceWorkerOpArgs; 10 11namespace mozilla { 12namespace dom { 13 14protocol PRemoteWorkerController { 15 manager PBackground; 16 17 manages PFetchEventOp; 18 19 child: 20 async CreationFailed(); 21 22 async CreationSucceeded(); 23 24 async ErrorReceived(ErrorValue aError); 25 26 async Terminated(); 27 28 async SetServiceWorkerSkipWaitingFlag() returns (bool aOk); 29 30 parent: 31 async PFetchEventOp(ServiceWorkerFetchEventOpArgs aArgs); 32 33 async __delete__(); 34 35 async Shutdown() returns (bool aOk); 36 37 async ExecServiceWorkerOp(ServiceWorkerOpArgs aArgs) 38 returns (ServiceWorkerOpResult aResult); 39}; 40 41} // namespace dom 42} // namespace mozilla 43