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 PBackgroundIDBFactory;
6 include protocol PBackgroundIDBDatabase;
8 include PBackgroundSharedTypes;
10 include "mozilla/dom/indexedDB/ActorsChild.h";
16 struct OpenDatabaseRequestResponse
18 PBackgroundIDBDatabase database;
21 struct DeleteDatabaseRequestResponse
23 uint64_t previousVersion;
26 union FactoryRequestResponse
29 OpenDatabaseRequestResponse;
30 DeleteDatabaseRequestResponse;
33 [ManualDealloc, ChildImpl="indexedDB::BackgroundFactoryRequestChild", ParentImpl=virtual]
34 protocol PBackgroundIDBFactoryRequest
36 manager PBackgroundIDBFactory;
39 async __delete__(FactoryRequestResponse response);
41 async Blocked(uint64_t currentVersion);
44 } // namespace indexedDB
46 } // namespace mozilla