summaryrefslogtreecommitdiffstats
path: root/dom/serviceworkers/PFetchEventOpProxy.ipdl
diff options
context:
space:
mode:
Diffstat (limited to 'dom/serviceworkers/PFetchEventOpProxy.ipdl')
-rw-r--r--dom/serviceworkers/PFetchEventOpProxy.ipdl34
1 files changed, 34 insertions, 0 deletions
diff --git a/dom/serviceworkers/PFetchEventOpProxy.ipdl b/dom/serviceworkers/PFetchEventOpProxy.ipdl
new file mode 100644
index 0000000000..b63b2253a9
--- /dev/null
+++ b/dom/serviceworkers/PFetchEventOpProxy.ipdl
@@ -0,0 +1,34 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+include protocol PRemoteWorker;
+
+include ServiceWorkerOpArgs;
+include FetchTypes;
+
+namespace mozilla {
+namespace dom {
+
+protocol PFetchEventOpProxy {
+ manager PRemoteWorker;
+
+ parent:
+ async AsyncLog(nsCString aScriptSpec, uint32_t aLineNumber,
+ uint32_t aColumnNumber, nsCString aMessageName,
+ nsString[] aParams);
+
+ async RespondWith(ChildToParentFetchEventRespondWithResult aResult);
+
+ async __delete__(ServiceWorkerFetchEventOpResult aResult);
+
+ child:
+ async PreloadResponse(ParentToChildInternalResponse aResponse);
+
+ async PreloadResponseTiming(ResponseTiming aTiming);
+
+ async PreloadResponseEnd(ResponseEndArgs aArgs);
+};
+
+} // namespace dom
+} // namespace mozilla