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

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
« no previous file with comments | « Source/modules/modules.gypi ('k') | Source/modules/webdatabase/DatabaseClient.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webdatabase/DatabaseClient.h
diff --git a/Source/modules/webdatabase/DatabaseClient.h b/Source/modules/webdatabase/DatabaseClient.h
index 4f080b3aab55343f951a8cece91ddc638ca6708c..d27a6a2a722ff35b912b20c0bb49ada8c2569fc1 100644
--- a/Source/modules/webdatabase/DatabaseClient.h
+++ b/Source/modules/webdatabase/DatabaseClient.h
@@ -37,19 +37,28 @@
namespace WebCore {
+class Database;
class ExecutionContext;
+class InspectorDatabaseAgent;
class WorkerClients;
class DatabaseClient : public Supplement<Page>, public Supplement<WorkerClients> {
WTF_MAKE_NONCOPYABLE(DatabaseClient);
public:
- DatabaseClient() { }
+ DatabaseClient();
virtual ~DatabaseClient() { }
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 createInspectorAgentFor(Page*);
+
+private:
+ InspectorDatabaseAgent* m_inspectorAgent;
};
void provideDatabaseClientTo(Page*, PassOwnPtr<DatabaseClient>);
« no previous file with comments | « Source/modules/modules.gypi ('k') | Source/modules/webdatabase/DatabaseClient.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698