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 PBackground;
6
7
include "mozilla/dom/quota/SerializationHelpers.h";
8
9
using mozilla::dom::quota::PersistenceType
10
from "mozilla/dom/quota/PersistenceType.h";
11
12
namespace mozilla {
13
namespace dom {
14
namespace indexedDB {
15
16
sync protocol PBackgroundIndexedDBUtils
17
{
18
manager PBackground;
19
20
parent:
21
async DeleteMe();
22
23
// Use only for testing!
24
sync GetFileReferences(PersistenceType persistenceType,
25
nsCString origin,
26
nsString databaseName,
27
int64_t fileId)
28
returns (int32_t refCnt, int32_t dBRefCnt, int32_t sliceRefCnt,
29
bool result);
30
31
child:
32
async __delete__();
33
};
34
35
} // namespace indexedDB
36
} // namespace dom
37
} // namespace mozilla