gecko/dom/indexedDB/ipc/PIndexedDBIndex.ipdl
Ben Turner 55ccc33732 Bug 920800 - 'Add openKeyCursor() to IDBObjectStore'. r=janv.
--HG--
extra : transplant_source : H%ED%F8%E08%98/%26%0F%82%9C%0E%B0l%92%A6%C0%A1%A3%B4
2013-09-25 16:11:47 -07:00

65 lines
1.2 KiB
Plaintext

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