summaryrefslogtreecommitdiffstats
path: root/dom/serviceworkers/PServiceWorkerUpdater.ipdl
diff options
context:
space:
mode:
Diffstat (limited to 'dom/serviceworkers/PServiceWorkerUpdater.ipdl')
-rw-r--r--dom/serviceworkers/PServiceWorkerUpdater.ipdl25
1 files changed, 25 insertions, 0 deletions
diff --git a/dom/serviceworkers/PServiceWorkerUpdater.ipdl b/dom/serviceworkers/PServiceWorkerUpdater.ipdl
new file mode 100644
index 0000000000..2036d2d4ca
--- /dev/null
+++ b/dom/serviceworkers/PServiceWorkerUpdater.ipdl
@@ -0,0 +1,25 @@
+/* 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 PServiceWorkerManager;
+
+namespace mozilla {
+namespace dom {
+
+protocol PServiceWorkerUpdater
+{
+ manager PServiceWorkerManager;
+
+parent:
+ // This __delete__ is safe because it's called when Proceed() is received and
+ // no other IPC messages are received nor sent.
+ async __delete__();
+
+child:
+ async Proceed(bool allowed);
+};
+
+} // namespace dom
+} // namespace mozilla
+