mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
65f4c1ef28
--HG-- rename : dom/indexedDB/ipc/PIndexedDBIndex.ipdl => dom/indexedDB/ipc/IndexedDBParams.ipdlh
85 lines
1.5 KiB
Plaintext
85 lines
1.5 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;
|
|
|
|
using mozilla::dom::indexedDB::SerializedStructuredCloneReadInfo;
|
|
|
|
namespace mozilla {
|
|
namespace dom {
|
|
namespace indexedDB {
|
|
|
|
namespace ipc {
|
|
|
|
struct GetKeyParams
|
|
{
|
|
KeyRange keyRange;
|
|
};
|
|
|
|
struct GetAllKeysParams
|
|
{
|
|
OptionalKeyRange optionalKeyRange;
|
|
uint32_t limit;
|
|
};
|
|
|
|
struct OpenKeyCursorParams
|
|
{
|
|
OptionalKeyRange optionalKeyRange;
|
|
Direction direction;
|
|
};
|
|
|
|
union IndexRequestParams
|
|
{
|
|
GetParams;
|
|
GetKeyParams;
|
|
GetAllParams;
|
|
GetAllKeysParams;
|
|
CountParams;
|
|
OpenCursorParams;
|
|
OpenKeyCursorParams;
|
|
};
|
|
|
|
union OptionalStructuredCloneReadInfo
|
|
{
|
|
SerializedStructuredCloneReadInfo;
|
|
void_t;
|
|
};
|
|
|
|
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
|