PFetchEventOp.ipdl (954B)
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 PRemoteWorkerController; 6 7 include ServiceWorkerOpArgs; 8 include FetchTypes; 9 10 namespace mozilla { 11 namespace dom { 12 13 [ManualDealloc] 14 protocol PFetchEventOp { 15 manager PRemoteWorkerController; 16 17 parent: 18 async PreloadResponse(ParentToParentInternalResponse aResponse); 19 20 async PreloadResponseTiming(ResponseTiming aTiming); 21 22 async PreloadResponseEnd(ResponseEndArgs aArgs); 23 24 child: 25 async AsyncLog(nsCString aScriptSpec, uint32_t aLineNumber, 26 uint32_t aColumnNumber, nsCString aMessageName, 27 nsString[] aParams); 28 29 async RespondWith(ParentToParentFetchEventRespondWithResult aResult); 30 31 async __delete__(ServiceWorkerFetchEventOpResult aResult); 32 }; 33 34 } // namespace dom 35 } // namespace mozilla