diff options
Diffstat (limited to 'dom/indexedDB/PBackgroundIDBDatabaseRequest.ipdl')
-rw-r--r-- | dom/indexedDB/PBackgroundIDBDatabaseRequest.ipdl | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dom/indexedDB/PBackgroundIDBDatabaseRequest.ipdl b/dom/indexedDB/PBackgroundIDBDatabaseRequest.ipdl new file mode 100644 index 0000000000..255ee26a18 --- /dev/null +++ b/dom/indexedDB/PBackgroundIDBDatabaseRequest.ipdl @@ -0,0 +1,36 @@ +/* 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; + +include "mozilla/dom/indexedDB/ActorsChild.h"; + +namespace mozilla { +namespace dom { +namespace indexedDB { + +struct CreateFileRequestResponse +{ + PBackgroundMutableFile mutableFile; +}; + +union DatabaseRequestResponse +{ + nsresult; + CreateFileRequestResponse; +}; + +[ManualDealloc, ChildImpl="indexedDB::BackgroundDatabaseRequestChild", ParentImpl=virtual] +protocol PBackgroundIDBDatabaseRequest +{ + manager PBackgroundIDBDatabase; + +child: + async __delete__(DatabaseRequestResponse response); +}; + +} // namespace indexedDB +} // namespace dom +} // namespace mozilla |