summaryrefslogtreecommitdiffstats
path: root/dom/indexedDB/PBackgroundIDBDatabaseRequest.ipdl
diff options
context:
space:
mode:
Diffstat (limited to 'dom/indexedDB/PBackgroundIDBDatabaseRequest.ipdl')
-rw-r--r--dom/indexedDB/PBackgroundIDBDatabaseRequest.ipdl33
1 files changed, 33 insertions, 0 deletions
diff --git a/dom/indexedDB/PBackgroundIDBDatabaseRequest.ipdl b/dom/indexedDB/PBackgroundIDBDatabaseRequest.ipdl
new file mode 100644
index 000000000..c3b342048
--- /dev/null
+++ b/dom/indexedDB/PBackgroundIDBDatabaseRequest.ipdl
@@ -0,0 +1,33 @@
+/* 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 PBackgroundIDBDatabase;
+include protocol PBackgroundMutableFile;
+
+namespace mozilla {
+namespace dom {
+namespace indexedDB {
+
+struct CreateFileRequestResponse
+{
+ PBackgroundMutableFile mutableFile;
+};
+
+union DatabaseRequestResponse
+{
+ nsresult;
+ CreateFileRequestResponse;
+};
+
+protocol PBackgroundIDBDatabaseRequest
+{
+ manager PBackgroundIDBDatabase;
+
+child:
+ async __delete__(DatabaseRequestResponse response);
+};
+
+} // namespace indexedDB
+} // namespace dom
+} // namespace mozilla