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

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

Issue 1696513002: DevTools: move protocol-related generators into inspector subfolder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: 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 981aba52d0d65f2745a07cc910d4b24e9fd826e3..3e9836b27500329aef92120b986c16a9bb1eb1be 100644
--- a/third_party/WebKit/Source/modules/webdatabase/InspectorDatabaseAgent.h
+++ b/third_party/WebKit/Source/modules/webdatabase/InspectorDatabaseAgent.h
@@ -29,7 +29,6 @@
#ifndef InspectorDatabaseAgent_h
#define InspectorDatabaseAgent_h
-#include "core/InspectorFrontend.h"
#include "core/inspector/InspectorBaseAgent.h"
#include "modules/ModulesExport.h"
#include "platform/heap/Handle.h"
@@ -47,7 +46,7 @@ class Page;
typedef String ErrorString;
-class MODULES_EXPORT InspectorDatabaseAgent final : public InspectorBaseAgent<InspectorDatabaseAgent, InspectorFrontend::Database>, public InspectorBackendDispatcher::DatabaseCommandHandler {
+class MODULES_EXPORT InspectorDatabaseAgent final : public InspectorBaseAgent<InspectorDatabaseAgent, protocol::Frontend::Database>, public protocol::Dispatcher::DatabaseCommandHandler {
WTF_MAKE_NONCOPYABLE(InspectorDatabaseAgent);
public:
static PassOwnPtrWillBeRawPtr<InspectorDatabaseAgent> create(Page* page)
@@ -63,7 +62,7 @@ public:
// Called from the front-end.
void enable(ErrorString*) override;
- void getDatabaseTableNames(ErrorString*, const String& databaseId, RefPtr<TypeBuilder::Array<String>>& names) override;
+ void getDatabaseTableNames(ErrorString*, const String& databaseId, RefPtr<protocol::TypeBuilder::Array<String>>& names) override;
void executeSQL(ErrorString*, const String& databaseId, const String& query, PassRefPtr<ExecuteSQLCallback>) override;
void didOpenDatabase(Database*, const String& domain, const String& name, const String& version);

Powered by Google App Engine
This is Rietveld 408576698