michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this file, michael@0: * You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: include protocol PBlob; michael@0: include protocol PIndexedDBCursor; michael@0: include protocol PIndexedDBObjectStore; michael@0: include protocol PIndexedDBRequest; michael@0: michael@0: include IndexedDBParams; michael@0: michael@0: namespace mozilla { michael@0: namespace dom { michael@0: namespace indexedDB { michael@0: michael@0: namespace ipc { michael@0: michael@0: struct GetKeyParams michael@0: { michael@0: KeyRange keyRange; michael@0: }; michael@0: michael@0: union IndexRequestParams michael@0: { michael@0: GetParams; michael@0: GetKeyParams; michael@0: GetAllParams; michael@0: GetAllKeysParams; michael@0: CountParams; michael@0: OpenCursorParams; michael@0: OpenKeyCursorParams; michael@0: }; michael@0: michael@0: struct IndexCursorConstructorParams michael@0: { michael@0: PIndexedDBRequest request; michael@0: Direction direction; michael@0: Key key; michael@0: Key objectKey; michael@0: OptionalStructuredCloneReadInfo optionalCloneInfo; michael@0: PBlob[] blobs; michael@0: }; michael@0: michael@0: } // namespace ipc michael@0: michael@0: protocol PIndexedDBIndex michael@0: { michael@0: manager PIndexedDBObjectStore; michael@0: michael@0: manages PIndexedDBCursor; michael@0: manages PIndexedDBRequest; michael@0: michael@0: parent: michael@0: __delete__(); michael@0: michael@0: PIndexedDBRequest(IndexRequestParams params); michael@0: michael@0: child: michael@0: PIndexedDBCursor(IndexCursorConstructorParams params); michael@0: }; michael@0: michael@0: } // namespace indexedDB michael@0: } // namespace dom michael@0: } // namespace mozilla