2014-09-27 03:21:57 +04: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 PBackgroundIDBCursor;
|
|
|
|
include protocol PBackgroundIDBDatabase;
|
2015-03-02 16:20:00 +03:00
|
|
|
include protocol PBackgroundIDBDatabaseFile;
|
2014-09-27 03:21:57 +04:00
|
|
|
include protocol PBackgroundIDBRequest;
|
2015-09-09 14:15:05 +03:00
|
|
|
include protocol PBackgroundMutableFile;
|
2014-09-27 03:21:57 +04:00
|
|
|
include protocol PBlob;
|
|
|
|
|
|
|
|
include PBackgroundIDBSharedTypes;
|
|
|
|
|
|
|
|
namespace mozilla {
|
|
|
|
namespace dom {
|
|
|
|
namespace indexedDB {
|
|
|
|
|
|
|
|
protocol PBackgroundIDBVersionChangeTransaction
|
|
|
|
{
|
|
|
|
manager PBackgroundIDBDatabase;
|
|
|
|
|
|
|
|
manages PBackgroundIDBCursor;
|
|
|
|
manages PBackgroundIDBRequest;
|
|
|
|
|
|
|
|
parent:
|
2016-01-27 00:51:53 +03:00
|
|
|
async DeleteMe();
|
2014-09-27 03:21:57 +04:00
|
|
|
|
2016-01-27 00:51:53 +03:00
|
|
|
async Commit();
|
|
|
|
async Abort(nsresult resultCode);
|
2014-09-27 03:21:57 +04:00
|
|
|
|
2016-01-27 00:51:53 +03:00
|
|
|
async CreateObjectStore(ObjectStoreMetadata metadata);
|
|
|
|
async DeleteObjectStore(int64_t objectStoreId);
|
2016-03-30 06:04:56 +03:00
|
|
|
async RenameObjectStore(int64_t objectStoreId,
|
|
|
|
nsString name);
|
2014-09-27 03:21:57 +04:00
|
|
|
|
2016-01-27 00:51:53 +03:00
|
|
|
async CreateIndex(int64_t objectStoreId,
|
|
|
|
IndexMetadata metadata);
|
|
|
|
async DeleteIndex(int64_t objectStoreId,
|
|
|
|
int64_t indexId);
|
2016-03-30 06:04:56 +03:00
|
|
|
async RenameIndex(int64_t objectStoreId,
|
|
|
|
int64_t indexId,
|
|
|
|
nsString name);
|
2014-09-27 03:21:57 +04:00
|
|
|
|
2016-01-27 00:51:53 +03:00
|
|
|
async PBackgroundIDBCursor(OpenCursorParams params);
|
2014-09-27 03:21:57 +04:00
|
|
|
|
2016-01-27 00:51:53 +03:00
|
|
|
async PBackgroundIDBRequest(RequestParams params);
|
2014-09-27 03:21:57 +04:00
|
|
|
|
|
|
|
child:
|
2016-01-27 00:51:53 +03:00
|
|
|
async __delete__();
|
2014-09-27 03:21:57 +04:00
|
|
|
|
2016-01-27 00:51:53 +03:00
|
|
|
async Complete(nsresult result);
|
2014-09-27 03:21:57 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace indexedDB
|
|
|
|
} // namespace dom
|
|
|
|
} // namespace mozilla
|