| Index: Source/modules/indexeddb/IDBFactoryBackendInterface.h
|
| diff --git a/Source/modules/indexeddb/IDBFactoryBackendInterface.h b/Source/modules/indexeddb/IDBFactoryBackendInterface.h
|
| index e07e92c81b8f789b96298ba8de36a43c0197c34d..e469082db225487c046e1dfa727906261f9cf8e1 100644
|
| --- a/Source/modules/indexeddb/IDBFactoryBackendInterface.h
|
| +++ b/Source/modules/indexeddb/IDBFactoryBackendInterface.h
|
| @@ -32,27 +32,17 @@
|
| #include "wtf/RefCounted.h"
|
| #include "wtf/text/WTFString.h"
|
|
|
| -namespace blink { class WebIDBDatabaseCallbacks; }
|
| -
|
| namespace WebCore {
|
|
|
| -class IDBRequest;
|
| -class IDBDatabase;
|
| -class IDBDatabaseCallbacks;
|
| class ExecutionContext;
|
|
|
| -// This class is shared by IDBFactory (async) and IDBFactorySync (sync).
|
| -// This is implemented by IDBFactoryBackendImpl and optionally others (in order to proxy
|
| -// calls across process barriers). All calls to these classes should be non-blocking and
|
| -// trigger work on a background thread if necessary.
|
| +// FIXME: This is just a permission client at this point. Rename/refactor.
|
| class IDBFactoryBackendInterface : public RefCounted<IDBFactoryBackendInterface> {
|
| public:
|
| static PassRefPtr<IDBFactoryBackendInterface> create();
|
| virtual ~IDBFactoryBackendInterface() { }
|
|
|
| - virtual void getDatabaseNames(PassRefPtr<IDBRequest>, const String& databaseIdentifier, ExecutionContext*) = 0;
|
| - virtual void open(const String& name, int64_t version, int64_t transactionId, PassRefPtr<IDBRequest>, PassOwnPtr<blink::WebIDBDatabaseCallbacks>, const String& databaseIdentifier, ExecutionContext*) = 0;
|
| - virtual void deleteDatabase(const String& name, PassRefPtr<IDBRequest>, const String& databaseIdentifier, ExecutionContext*) = 0;
|
| + virtual bool allowIndexedDB(WebCore::ExecutionContext*, const String& name) = 0;
|
| };
|
|
|
| } // namespace WebCore
|
|
|