michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this file, michael@0: * You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: include protocol PBrowser; michael@0: include protocol PContent; michael@0: include protocol PIndexedDBDatabase; michael@0: include protocol PIndexedDBDeleteDatabaseRequest; michael@0: michael@0: include "mozilla/dom/indexedDB/SerializationHelpers.h"; michael@0: michael@0: using mozilla::dom::quota::PersistenceType from "mozilla/dom/quota/PersistenceType.h"; michael@0: michael@0: namespace mozilla { michael@0: namespace dom { michael@0: namespace indexedDB { michael@0: michael@0: protocol PIndexedDB michael@0: { michael@0: manager PBrowser or PContent; michael@0: michael@0: manages PIndexedDBDatabase; michael@0: manages PIndexedDBDeleteDatabaseRequest; michael@0: michael@0: parent: michael@0: __delete__(); michael@0: michael@0: PIndexedDBDatabase(nsString name, uint64_t version, michael@0: PersistenceType persistenceType); michael@0: michael@0: PIndexedDBDeleteDatabaseRequest(nsString name, michael@0: PersistenceType persistenceType); michael@0: }; michael@0: michael@0: } // namespace indexedDB michael@0: } // namespace dom michael@0: } // namespace mozilla