| 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>);
|
|
|