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

Unified Diff: Source/modules/webdatabase/DatabaseClient.h

Issue 147353007: DevTools: remove references to modules/webdatabase from core/inspector (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 10 months 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
Index: Source/modules/webdatabase/DatabaseClient.h
diff --git a/Source/modules/webdatabase/DatabaseClient.h b/Source/modules/webdatabase/DatabaseClient.h
index 4f080b3aab55343f951a8cece91ddc638ca6708c..5eb1415e62b042a3dffdca7caafd4e17050d891d 100644
--- a/Source/modules/webdatabase/DatabaseClient.h
+++ b/Source/modules/webdatabase/DatabaseClient.h
@@ -37,7 +37,9 @@
namespace WebCore {
+class Database;
class ExecutionContext;
+class InspectorDatabaseAgent;
class WorkerClients;
class DatabaseClient : public Supplement<Page>, public Supplement<WorkerClients> {
@@ -48,8 +50,15 @@ public:
virtual bool allowDatabase(ExecutionContext*, const String& name, const String& displayName, unsigned long estimatedSize) = 0;
+ void didOpenDatabase(PassRefPtr<Database>, const String& domain, const String& name, const String& version);
+
static DatabaseClient* from(ExecutionContext*);
static const char* supplementName();
+
+ void setInspectorDatabaseAgent(InspectorDatabaseAgent* agent) { m_inspectorAgent = agent; }
+
+private:
+ InspectorDatabaseAgent* m_inspectorAgent;
};
void provideDatabaseClientTo(Page*, PassOwnPtr<DatabaseClient>);

Powered by Google App Engine
This is Rietveld 408576698