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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorProfilerAgent.cpp

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.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorProfilerAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorProfilerAgent.cpp
index 5e244092966be3f68c77010446a2e5f20587814b..d8958e8ac9db41d4036979fe0fb02c2a5f008988 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorProfilerAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorProfilerAgent.cpp
@@ -47,7 +47,7 @@ PassOwnPtrWillBeRawPtr<InspectorProfilerAgent> InspectorProfilerAgent::create(V8
}
InspectorProfilerAgent::InspectorProfilerAgent(V8Debugger* debugger, Client* client)
- : InspectorBaseAgent<InspectorProfilerAgent, InspectorFrontend::Profiler>("Profiler")
+ : InspectorBaseAgent<InspectorProfilerAgent, protocol::Frontend::Profiler>("Profiler")
, m_client(client)
, m_v8ProfilerAgent(V8ProfilerAgent::create(debugger))
{
@@ -64,10 +64,10 @@ void InspectorProfilerAgent::setState(PassRefPtr<JSONObject> state)
m_v8ProfilerAgent->setInspectorState(m_state);
}
-void InspectorProfilerAgent::setFrontend(InspectorFrontend* frontend)
+void InspectorProfilerAgent::setFrontend(protocol::Frontend* frontend)
{
InspectorBaseAgent::setFrontend(frontend);
- m_v8ProfilerAgent->setFrontend(InspectorFrontend::Profiler::from(frontend));
+ m_v8ProfilerAgent->setFrontend(protocol::Frontend::Profiler::from(frontend));
}
void InspectorProfilerAgent::clearFrontend()
@@ -123,7 +123,7 @@ void InspectorProfilerAgent::start(ErrorString* error)
m_client->profilingStarted();
}
-void InspectorProfilerAgent::stop(ErrorString* errorString, RefPtr<TypeBuilder::Profiler::CPUProfile>& profile)
+void InspectorProfilerAgent::stop(ErrorString* errorString, RefPtr<protocol::TypeBuilder::Profiler::CPUProfile>& profile)
{
if (m_client)
m_client->profilingStopped();

Powered by Google App Engine
This is Rietveld 408576698