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

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

Issue 1933573002: [DevTools] Remove last bits of logic from v8 agent wrappers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@1913283003
Patch Set: rebased, fixed uninitialized variable Created 4 years, 7 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/inspector/InspectorProfilerAgent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f5cc784ce77d8645723c9251f09ab0c9026ce009..6a8e4589c58521102c6edde1ef1dfacd3e318aca 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorProfilerAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorProfilerAgent.h
@@ -46,14 +46,7 @@ class V8ProfilerAgent;
class CORE_EXPORT InspectorProfilerAgent final : public InspectorBaseAgent<InspectorProfilerAgent, protocol::Frontend::Profiler>, public protocol::Backend::Profiler {
WTF_MAKE_NONCOPYABLE(InspectorProfilerAgent);
public:
- class Client {
- public:
- virtual ~Client() { }
- virtual void profilingStarted() { }
- virtual void profilingStopped() { }
- };
-
- static InspectorProfilerAgent* create(V8ProfilerAgent*, Client*);
+ explicit InspectorProfilerAgent(V8ProfilerAgent*);
~InspectorProfilerAgent() override;
DECLARE_VIRTUAL_TRACE();
@@ -69,9 +62,6 @@ public:
void stop(ErrorString*, OwnPtr<protocol::Profiler::CPUProfile>*) override;
private:
- InspectorProfilerAgent(V8ProfilerAgent*, Client*);
-
- Client* m_client;
V8ProfilerAgent* m_v8ProfilerAgent;
};
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/inspector/InspectorProfilerAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698