2012-06-01 10:21:12 -07:00
|
|
|
/* 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 PIndexedDBIndex;
|
|
|
|
include protocol PIndexedDBObjectStore;
|
|
|
|
include protocol PIndexedDBRequest;
|
|
|
|
|
|
|
|
include "mozilla/dom/indexedDB/SerializationHelpers.h";
|
|
|
|
|
2013-10-01 12:25:07 -07:00
|
|
|
using class mozilla::dom::indexedDB::Key from "mozilla/dom/indexedDB/Key.h";
|
|
|
|
using mozilla::dom::indexedDB::IDBCursor::Direction from "mozilla/dom/indexedDB/IDBCursor.h";
|
2012-06-01 10:21:12 -07:00
|
|
|
|
2013-10-01 12:25:07 -07:00
|
|
|
using struct mozilla::void_t from "ipc/IPCMessageUtils.h";
|
2012-06-01 10:21:12 -07:00
|
|
|
|
|
|
|
namespace mozilla {
|
|
|
|
namespace dom {
|
|
|
|
namespace indexedDB {
|
|
|
|
|
|
|
|
namespace ipc {
|
|
|
|
|
|
|
|
struct ContinueParams
|
|
|
|
{
|
|
|
|
Key key;
|
|
|
|
uint32_t count;
|
|
|
|
};
|
|
|
|
|
|
|
|
union CursorRequestParams
|
|
|
|
{
|
|
|
|
ContinueParams;
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace ipc
|
|
|
|
|
|
|
|
protocol PIndexedDBCursor
|
|
|
|
{
|
|
|
|
manager PIndexedDBObjectStore or PIndexedDBIndex;
|
|
|
|
|
|
|
|
manages PIndexedDBRequest;
|
|
|
|
|
|
|
|
parent:
|
|
|
|
__delete__();
|
|
|
|
|
|
|
|
PIndexedDBRequest(CursorRequestParams params);
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace indexedDB
|
|
|
|
} // namespace dom
|
|
|
|
} // namespace mozilla
|