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 PBlob;
6 include protocol PIndexedDBCursor;
7 include protocol PIndexedDBIndex;
8 include protocol PIndexedDBRequest;
9 include protocol PIndexedDBTransaction;
11 include IndexedDBParams;
13 using struct mozilla::dom::indexedDB::IndexInfo from "mozilla/dom/indexedDB/DatabaseInfo.h";
14 using struct mozilla::dom::indexedDB::IndexUpdateInfo from "mozilla/dom/indexedDB/DatabaseInfo.h";
15 using struct mozilla::dom::indexedDB::SerializedStructuredCloneWriteInfo from "mozilla/dom/indexedDB/IndexedDatabase.h";
25 SerializedStructuredCloneWriteInfo cloneInfo;
27 IndexUpdateInfo[] indexUpdateInfos;
33 AddPutParams commonParams;
38 AddPutParams commonParams;
50 union ObjectStoreRequestParams
64 struct CreateIndexParams
74 union IndexConstructorParams
80 struct ObjectStoreCursorConstructorParams
82 PIndexedDBRequest request;
85 OptionalStructuredCloneReadInfo optionalCloneInfo;
91 protocol PIndexedDBObjectStore
93 manager PIndexedDBTransaction;
95 manages PIndexedDBCursor;
96 manages PIndexedDBIndex;
97 manages PIndexedDBRequest;
102 PIndexedDBIndex(IndexConstructorParams params);
103 PIndexedDBRequest(ObjectStoreRequestParams params);
105 DeleteIndex(nsString name);
108 PIndexedDBCursor(ObjectStoreCursorConstructorParams params);
111 } // namespace indexedDB
113 } // namespace mozilla