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 PBrowser;
|
2012-07-14 04:24:20 -07:00
|
|
|
include protocol PContent;
|
2012-06-01 10:21:12 -07:00
|
|
|
include protocol PIndexedDBDatabase;
|
|
|
|
include protocol PIndexedDBDeleteDatabaseRequest;
|
|
|
|
|
2013-09-10 21:18:36 -07:00
|
|
|
include "mozilla/dom/indexedDB/SerializationHelpers.h";
|
|
|
|
|
2013-10-01 12:25:07 -07:00
|
|
|
using mozilla::dom::quota::PersistenceType from "mozilla/dom/quota/PersistenceType.h";
|
2013-09-10 21:18:36 -07:00
|
|
|
|
2012-06-01 10:21:12 -07:00
|
|
|
namespace mozilla {
|
|
|
|
namespace dom {
|
|
|
|
namespace indexedDB {
|
|
|
|
|
|
|
|
protocol PIndexedDB
|
|
|
|
{
|
2012-07-14 04:24:20 -07:00
|
|
|
manager PBrowser or PContent;
|
2012-06-01 10:21:12 -07:00
|
|
|
|
|
|
|
manages PIndexedDBDatabase;
|
|
|
|
manages PIndexedDBDeleteDatabaseRequest;
|
|
|
|
|
|
|
|
parent:
|
|
|
|
__delete__();
|
|
|
|
|
2013-09-10 21:18:36 -07:00
|
|
|
PIndexedDBDatabase(nsString name, uint64_t version,
|
|
|
|
PersistenceType persistenceType);
|
2012-06-01 10:21:12 -07:00
|
|
|
|
2013-09-10 21:18:36 -07:00
|
|
|
PIndexedDBDeleteDatabaseRequest(nsString name,
|
|
|
|
PersistenceType persistenceType);
|
2012-06-01 10:21:12 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace indexedDB
|
|
|
|
} // namespace dom
|
|
|
|
} // namespace mozilla
|