Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1839)

Unified Diff: Source/web/IDBFactoryBackendProxy.h

Issue 67463006: IndexedDB: Simplify WebIDBCallbacks exports, strip IDBFactoryBackend (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Re-up Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/web/AssertMatchingEnums.cpp ('k') | Source/web/IDBFactoryBackendProxy.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/IDBFactoryBackendProxy.h
diff --git a/Source/web/IDBFactoryBackendProxy.h b/Source/web/IDBFactoryBackendProxy.h
index 276abee6e0a2c9a5920efb597d740491d6647554..b6ab372d4ee871e2998ed83e31433362e36ce9f6 100644
--- a/Source/web/IDBFactoryBackendProxy.h
+++ b/Source/web/IDBFactoryBackendProxy.h
@@ -29,9 +29,7 @@
#ifndef IDBFactoryBackendProxy_h
#define IDBFactoryBackendProxy_h
-#include "modules/indexeddb/IDBRequest.h"
#include "modules/indexeddb/chromium/IDBFactoryBackendInterfaceChromium.h"
-#include "public/platform/WebIDBDatabaseCallbacks.h"
namespace WebCore {
class ExecutionContext;
@@ -39,24 +37,16 @@ class ExecutionContext;
namespace blink {
-class WebIDBFactory;
-class WebSecurityOrigin;
-
+// FIXME: This is just a permission client at this point. Rename/refactor.
class IDBFactoryBackendProxy : public WebCore::IDBFactoryBackendInterface {
public:
static PassRefPtr<WebCore::IDBFactoryBackendInterface> create();
- virtual ~IDBFactoryBackendProxy();
+ virtual ~IDBFactoryBackendProxy() { }
- virtual void getDatabaseNames(PassRefPtr<WebCore::IDBRequest>, const String& databaseIdentifier, WebCore::ExecutionContext*) OVERRIDE;
- virtual void open(const String& name, int64_t version, int64_t transactionId, PassRefPtr<WebCore::IDBRequest>, PassOwnPtr<WebIDBDatabaseCallbacks>, const String& databaseIdentifier, WebCore::ExecutionContext*) OVERRIDE;
- virtual void deleteDatabase(const String& name, PassRefPtr<WebCore::IDBRequest>, const String& databaseIdentifier, WebCore::ExecutionContext*) OVERRIDE;
+ virtual bool allowIndexedDB(WebCore::ExecutionContext*, const String& name);
private:
- IDBFactoryBackendProxy();
- bool allowIndexedDB(WebCore::ExecutionContext*, const String& name, const WebSecurityOrigin&, PassRefPtr<WebCore::IDBRequest>);
-
- // We don't own this pointer (unlike all the other proxy classes which do).
- WebIDBFactory* m_webIDBFactory;
+ IDBFactoryBackendProxy() { }
};
} // namespace blink
« no previous file with comments | « Source/web/AssertMatchingEnums.cpp ('k') | Source/web/IDBFactoryBackendProxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698