diff options
Diffstat (limited to 'Source/WebCore/storage/IDBDatabaseBackendInterface.h')
| -rw-r--r-- | Source/WebCore/storage/IDBDatabaseBackendInterface.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/WebCore/storage/IDBDatabaseBackendInterface.h b/Source/WebCore/storage/IDBDatabaseBackendInterface.h index 9cc7230..ad6fdc7 100644 --- a/Source/WebCore/storage/IDBDatabaseBackendInterface.h +++ b/Source/WebCore/storage/IDBDatabaseBackendInterface.h @@ -38,9 +38,9 @@ namespace WebCore { class DOMStringList; class Frame; class IDBCallbacks; +class IDBDatabaseCallbacks; class IDBObjectStoreBackendInterface; class IDBTransactionBackendInterface; -class IDBTransactionCallbacks; // This class is shared by IDBDatabase (async) and IDBDatabaseSync (sync). // This is implemented by IDBDatabaseBackendImpl and optionally others (in order to proxy @@ -56,9 +56,11 @@ public: virtual PassRefPtr<IDBObjectStoreBackendInterface> createObjectStore(const String& name, const String& keyPath, bool autoIncrement, IDBTransactionBackendInterface*, ExceptionCode&) = 0; virtual void deleteObjectStore(const String& name, IDBTransactionBackendInterface*, ExceptionCode&) = 0; - virtual void setVersion(const String& version, PassRefPtr<IDBCallbacks>, ExceptionCode&) = 0; + virtual void setVersion(const String& version, PassRefPtr<IDBCallbacks>, PassRefPtr<IDBDatabaseCallbacks>, ExceptionCode&) = 0; virtual PassRefPtr<IDBTransactionBackendInterface> transaction(DOMStringList* storeNames, unsigned short mode, ExceptionCode&) = 0; - virtual void close() = 0; + virtual void close(PassRefPtr<IDBDatabaseCallbacks>) = 0; + + virtual void open(PassRefPtr<IDBDatabaseCallbacks>) = 0; }; } // namespace WebCore |
