summaryrefslogtreecommitdiffstats
path: root/dom/indexedDB/PIndexedDBPermissionRequest.ipdl
diff options
context:
space:
mode:
Diffstat (limited to 'dom/indexedDB/PIndexedDBPermissionRequest.ipdl')
-rw-r--r--dom/indexedDB/PIndexedDBPermissionRequest.ipdl27
1 files changed, 27 insertions, 0 deletions
diff --git a/dom/indexedDB/PIndexedDBPermissionRequest.ipdl b/dom/indexedDB/PIndexedDBPermissionRequest.ipdl
new file mode 100644
index 000000000..779793731
--- /dev/null
+++ b/dom/indexedDB/PIndexedDBPermissionRequest.ipdl
@@ -0,0 +1,27 @@
+/* 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 PBrowser;
+
+namespace mozilla {
+namespace dom {
+namespace indexedDB {
+
+protocol PIndexedDBPermissionRequest
+{
+ manager PBrowser;
+
+child:
+ /**
+ * Called when the user makes a choice or the permission request times out.
+ *
+ * @param permission
+ * The permission result (see nsIPermissionManager.idl for valid values).
+ */
+ async __delete__(uint32_t permission);
+};
+
+} // namespace indexedDB
+} // namespace dom
+} // namespace mozilla