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

Unified Diff: third_party/WebKit/Source/modules/webdatabase/InspectorDatabaseAgent.h

Issue 1810843002: DevTools: split protocol Dispatcher into Backend interface and the dispatcher itself. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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: third_party/WebKit/Source/modules/webdatabase/InspectorDatabaseAgent.h
diff --git a/third_party/WebKit/Source/modules/webdatabase/InspectorDatabaseAgent.h b/third_party/WebKit/Source/modules/webdatabase/InspectorDatabaseAgent.h
index 5639ceae98bb06d62001b63ab6dffd253e4bbc61..20bb6d20924b02cc011f2251c9c0b693dba0a168 100644
--- a/third_party/WebKit/Source/modules/webdatabase/InspectorDatabaseAgent.h
+++ b/third_party/WebKit/Source/modules/webdatabase/InspectorDatabaseAgent.h
@@ -45,7 +45,7 @@ class InspectorFrontend;
class Page;
-class MODULES_EXPORT InspectorDatabaseAgent final : public InspectorBaseAgent<InspectorDatabaseAgent, protocol::Frontend::Database>, public protocol::Dispatcher::DatabaseCommandHandler {
+class MODULES_EXPORT InspectorDatabaseAgent final : public InspectorBaseAgent<InspectorDatabaseAgent, protocol::Frontend::Database>, public protocol::Backend::Database {
WTF_MAKE_NONCOPYABLE(InspectorDatabaseAgent);
public:
static PassOwnPtrWillBeRawPtr<InspectorDatabaseAgent> create(Page* page)
@@ -64,11 +64,11 @@ public:
void getDatabaseTableNames(ErrorString*, const String& databaseId, OwnPtr<protocol::Array<String>>* names) override;
void executeSQL(ErrorString*, const String& databaseId, const String& query, PassOwnPtr<ExecuteSQLCallback>) override;
- void didOpenDatabase(Database*, const String& domain, const String& name, const String& version);
+ void didOpenDatabase(blink::Database*, const String& domain, const String& name, const String& version);
private:
explicit InspectorDatabaseAgent(Page*);
- Database* databaseForId(const String& databaseId);
+ blink::Database* databaseForId(const String& databaseId);
InspectorDatabaseResource* findByFileName(const String& fileName);
RawPtrWillBeMember<Page> m_page;

Powered by Google App Engine
This is Rietveld 408576698