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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorProfilerAgent.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/core/inspector/InspectorProfilerAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorProfilerAgent.h b/third_party/WebKit/Source/core/inspector/InspectorProfilerAgent.h
index 99c092a04595b25502c783cba69ecd5ef3a371fa..f9eea6fe7287d4dd6845d4641ebc5bad79a74a1f 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorProfilerAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorProfilerAgent.h
@@ -31,7 +31,6 @@
#define InspectorProfilerAgent_h
#include "core/CoreExport.h"
-#include "core/InspectorFrontend.h"
#include "core/inspector/InspectorBaseAgent.h"
#include "wtf/Forward.h"
#include "wtf/Noncopyable.h"
@@ -47,7 +46,7 @@ class V8ProfilerAgent;
typedef String ErrorString;
-class CORE_EXPORT InspectorProfilerAgent final : public InspectorBaseAgent<InspectorProfilerAgent, InspectorFrontend::Profiler>, public InspectorBackendDispatcher::ProfilerCommandHandler {
+class CORE_EXPORT InspectorProfilerAgent final : public InspectorBaseAgent<InspectorProfilerAgent, protocol::Frontend::Profiler>, public protocol::Dispatcher::ProfilerCommandHandler {
WTF_MAKE_NONCOPYABLE(InspectorProfilerAgent);
USING_FAST_MALLOC_WILL_BE_REMOVED(InspectorProfilerAgent);
public:
@@ -64,7 +63,7 @@ public:
// InspectorBaseAgent overrides.
void setState(PassRefPtr<JSONObject>) override;
- void setFrontend(InspectorFrontend*) override;
+ void setFrontend(protocol::Frontend*) override;
void clearFrontend() override;
void restore() override;
@@ -75,7 +74,7 @@ public:
void disable(ErrorString*) override;
void setSamplingInterval(ErrorString*, int) override;
void start(ErrorString*) override;
- void stop(ErrorString*, RefPtr<TypeBuilder::Profiler::CPUProfile>&) override;
+ void stop(ErrorString*, RefPtr<protocol::TypeBuilder::Profiler::CPUProfile>&) override;
void willProcessTask();
void didProcessTask();

Powered by Google App Engine
This is Rietveld 408576698