Bug 1850713: remove duplicated setting of early hint preloader id in `ScriptLoader...
[gecko.git] / dom / simpledb / PBackgroundSDBConnection.ipdl
blobe8508f17b81e765e00b7311d39ab0612e5e2f6f8
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
3  * You can obtain one at http://mozilla.org/MPL/2.0/. */
5 include protocol PBackground;
6 include protocol PBackgroundSDBRequest;
8 namespace mozilla {
9 namespace dom {
11 struct SDBRequestOpenParams
13   nsString name;
16 struct SDBRequestSeekParams
18   uint64_t offset;
21 struct SDBRequestReadParams
23   uint64_t size;
26 struct SDBRequestWriteParams
28   nsCString data;
31 struct SDBRequestCloseParams
35 union SDBRequestParams
37   SDBRequestOpenParams;
38   SDBRequestSeekParams;
39   SDBRequestReadParams;
40   SDBRequestWriteParams;
41   SDBRequestCloseParams;
44 [ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
45 protocol PBackgroundSDBConnection
47   manager PBackground;
49   manages PBackgroundSDBRequest;
51 parent:
52   async DeleteMe();
54   async PBackgroundSDBRequest(SDBRequestParams params);
56 child:
57   async __delete__();
59   async AllowToClose();
61   async Closed();
64 } // namespace dom
65 } // namespace mozilla