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

Unified Diff: third_party/WebKit/Source/web/WebDevToolsAgentImpl.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/web/WebDevToolsAgentImpl.h
diff --git a/third_party/WebKit/Source/web/WebDevToolsAgentImpl.h b/third_party/WebKit/Source/web/WebDevToolsAgentImpl.h
index c361b974c9576edd908f32882795c2709b0be9c9..26d2574e3e62aaf5961c519b0b9d7bc48dafb2a4 100644
--- a/third_party/WebKit/Source/web/WebDevToolsAgentImpl.h
+++ b/third_party/WebKit/Source/web/WebDevToolsAgentImpl.h
@@ -31,11 +31,11 @@
#ifndef WebDevToolsAgentImpl_h
#define WebDevToolsAgentImpl_h
-#include "core/inspector/InspectorFrontendChannel.h"
#include "core/inspector/InspectorPageAgent.h"
#include "core/inspector/InspectorRuntimeAgent.h"
#include "core/inspector/InspectorTracingAgent.h"
#include "platform/heap/Handle.h"
+#include "platform/inspector_protocol/FrontendChannel.h"
#include "public/platform/WebSize.h"
#include "public/platform/WebThread.h"
#include "public/web/WebDevToolsAgent.h"
@@ -74,7 +74,7 @@ class WebDevToolsAgentImpl final
, public InspectorTracingAgent::Client
, public InspectorPageAgent::Client
, public InspectorRuntimeAgent::Client
- , public InspectorFrontendChannel
+ , public protocol::FrontendChannel
, private WebThread::TaskObserver {
public:
static PassOwnPtrWillBeRawPtr<WebDevToolsAgentImpl> create(WebLocalFrameImpl*, WebDevToolsAgentClient*);
@@ -127,7 +127,7 @@ private:
void setPausedInDebuggerMessage(const String*) override;
void waitForCreateWindow(LocalFrame*) override;
- // InspectorFrontendChannel implementation.
+ // protocol::FrontendChannel implementation.
void sendProtocolResponse(int sessionId, int callId, PassRefPtr<JSONObject> message) override;
void sendProtocolNotification(PassRefPtr<JSONObject> message) override;
void flush() override;
@@ -159,8 +159,8 @@ private:
RawPtrWillBeMember<PageRuntimeAgent> m_pageRuntimeAgent;
RawPtrWillBeMember<PageConsoleAgent> m_pageConsoleAgent;
- RefPtr<InspectorBackendDispatcher> m_inspectorBackendDispatcher;
- OwnPtr<InspectorFrontend> m_inspectorFrontend;
+ RefPtr<protocol::Dispatcher> m_inspectorBackendDispatcher;
+ OwnPtr<protocol::Frontend> m_inspectorFrontend;
InspectorAgentRegistry m_agents;
bool m_deferredAgentsInitialized;
« no previous file with comments | « third_party/WebKit/Source/web/InspectorRenderingAgent.cpp ('k') | third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698