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
include protocol PChildToParentStream; // FIXME: bug 792908
11
include protocol PFileDescriptorSet; // FIXME: bug 792908
12
include protocol PIPCBlobInputStream; // FIXME: bug 792908
13
include protocol PParentToChildStream; // FIXME: bug 792908
14
15
include PBackgroundIDBSharedTypes;
16
17
namespace mozilla {
18
namespace dom {
19
namespace indexedDB {
20
21
protocol PBackgroundIDBVersionChangeTransaction
22
{
23
manager PBackgroundIDBDatabase;
24
25
manages PBackgroundIDBCursor;
26
manages PBackgroundIDBRequest;
27
28
parent:
29
async DeleteMe();
30
31
async Commit();
32
async Abort(nsresult resultCode);
33
34
async CreateObjectStore(ObjectStoreMetadata metadata);
35
async DeleteObjectStore(int64_t objectStoreId);
36
async RenameObjectStore(int64_t objectStoreId,
37
nsString name);
38
39
async CreateIndex(int64_t objectStoreId,
40
IndexMetadata metadata);
41
async DeleteIndex(int64_t objectStoreId,
42
int64_t indexId);
43
async RenameIndex(int64_t objectStoreId,
44
int64_t indexId,
45
nsString name);
46
47
async PBackgroundIDBCursor(OpenCursorParams params);
48
49
async PBackgroundIDBRequest(RequestParams params);
50
51
child:
52
async __delete__();
53
54
async Complete(nsresult result);
55
};
56
57
} // namespace indexedDB
58
} // namespace dom
59
} // namespace mozilla