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 PIndexedDBIndex; michael@0: include protocol PIndexedDBObjectStore; michael@0: include protocol PIndexedDBRequest; michael@0: michael@0: include "mozilla/dom/indexedDB/SerializationHelpers.h"; michael@0: michael@0: using class mozilla::dom::indexedDB::Key from "mozilla/dom/indexedDB/Key.h"; michael@0: using mozilla::dom::indexedDB::IDBCursor::Direction from "mozilla/dom/indexedDB/IDBCursor.h"; michael@0: michael@0: using struct mozilla::void_t from "ipc/IPCMessageUtils.h"; 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 ContinueParams michael@0: { michael@0: Key key; michael@0: uint32_t count; michael@0: }; michael@0: michael@0: union CursorRequestParams michael@0: { michael@0: ContinueParams; michael@0: }; michael@0: michael@0: } // namespace ipc michael@0: michael@0: protocol PIndexedDBCursor michael@0: { michael@0: manager PIndexedDBObjectStore or PIndexedDBIndex; michael@0: michael@0: manages PIndexedDBRequest; michael@0: michael@0: parent: michael@0: __delete__(); michael@0: michael@0: PIndexedDBRequest(CursorRequestParams params); michael@0: }; michael@0: michael@0: } // namespace indexedDB michael@0: } // namespace dom michael@0: } // namespace mozilla