Source code

Revision control

Other Tools

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/. */
4
5
include protocol PBackgroundIDBCursor;
6
include protocol PBackgroundIDBDatabase;
7
include protocol PBackgroundIDBDatabaseFile;
8
include protocol PBackgroundIDBRequest;
9
include protocol PBackgroundMutableFile;
10
11
include PBackgroundIDBSharedTypes;
12
13
namespace mozilla {
14
namespace dom {
15
namespace indexedDB {
16
17
protocol PBackgroundIDBTransaction
18
{
19
manager PBackgroundIDBDatabase;
20
21
manages PBackgroundIDBCursor;
22
manages PBackgroundIDBRequest;
23
24
parent:
25
async DeleteMe();
26
27
async Commit();
28
async Abort(nsresult resultCode);
29
30
async PBackgroundIDBCursor(OpenCursorParams params);
31
32
async PBackgroundIDBRequest(RequestParams params);
33
34
child:
35
async __delete__();
36
37
async Complete(nsresult result);
38
};
39
40
} // namespace indexedDB
41
} // namespace dom
42
} // namespace mozilla