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 PBackgroundIDBDatabase;
6
include protocol PBackgroundMutableFile;
7
8
namespace mozilla {
9
namespace dom {
10
namespace indexedDB {
11
12
struct CreateFileRequestResponse
13
{
14
PBackgroundMutableFile mutableFile;
15
};
16
17
union DatabaseRequestResponse
18
{
19
nsresult;
20
CreateFileRequestResponse;
21
};
22
23
protocol PBackgroundIDBDatabaseRequest
24
{
25
manager PBackgroundIDBDatabase;
26
27
child:
28
async __delete__(DatabaseRequestResponse response);
29
};
30
31
} // namespace indexedDB
32
} // namespace dom
33
} // namespace mozilla