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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/V8ProfilerAgentImpl.h

Issue 2012753003: DevTools: consolidate protocol generators for front-end, backend and type builder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: third_party/WebKit/Source/platform/v8_inspector/V8ProfilerAgentImpl.h
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8ProfilerAgentImpl.h b/third_party/WebKit/Source/platform/v8_inspector/V8ProfilerAgentImpl.h
index aeac0f1bf4b5eae956e25f628c403b85dde5426a..adc04143bf76ff960c8ce4f0cb9a069a5d0c9e3d 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/V8ProfilerAgentImpl.h
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8ProfilerAgentImpl.h
@@ -6,9 +6,8 @@
#define V8ProfilerAgentImpl_h
#include "platform/inspector_protocol/Allocator.h"
-#include "platform/inspector_protocol/Backend.h"
-#include "platform/inspector_protocol/Frontend.h"
#include "platform/inspector_protocol/String16.h"
+#include "platform/inspector_protocol/TypeBuilder.h"
namespace v8 {
class Isolate;
@@ -21,7 +20,7 @@ class V8InspectorSessionImpl;
class V8ProfilerAgentImpl : public protocol::Profiler::Backend {
PROTOCOL_DISALLOW_COPY(V8ProfilerAgentImpl);
public:
- V8ProfilerAgentImpl(V8InspectorSessionImpl*, protocol::Profiler::Frontend*, protocol::DictionaryValue* state);
+ V8ProfilerAgentImpl(V8InspectorSessionImpl*, protocol::FrontendChannel*, protocol::DictionaryValue* state);
~V8ProfilerAgentImpl() override;
bool enabled() const { return m_enabled; }
@@ -47,7 +46,7 @@ private:
V8InspectorSessionImpl* m_session;
v8::Isolate* m_isolate;
protocol::DictionaryValue* m_state;
- protocol::Profiler::Frontend* m_frontend;
+ protocol::Profiler::Frontend m_frontend;
bool m_enabled;
bool m_recordingCPUProfile;
class ProfileDescriptor;

Powered by Google App Engine
This is Rietveld 408576698