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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/V8HeapProfilerAgentImpl.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/V8HeapProfilerAgentImpl.h
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8HeapProfilerAgentImpl.h b/third_party/WebKit/Source/platform/v8_inspector/V8HeapProfilerAgentImpl.h
index a959370ecd42be5cede71be4904f3d06de7a7308..a2f1ae6bb78929a4d8b03f824548d12f261986ed 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/V8HeapProfilerAgentImpl.h
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8HeapProfilerAgentImpl.h
@@ -6,9 +6,8 @@
#define V8HeapProfilerAgentImpl_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 blink {
@@ -19,7 +18,7 @@ using protocol::Maybe;
class V8HeapProfilerAgentImpl : public protocol::HeapProfiler::Backend {
PROTOCOL_DISALLOW_COPY(V8HeapProfilerAgentImpl);
public:
- V8HeapProfilerAgentImpl(V8InspectorSessionImpl*, protocol::HeapProfiler::Frontend*, protocol::DictionaryValue* state);
+ V8HeapProfilerAgentImpl(V8InspectorSessionImpl*, protocol::FrontendChannel*, protocol::DictionaryValue* state);
~V8HeapProfilerAgentImpl() override;
void restore();
@@ -48,7 +47,7 @@ private:
V8InspectorSessionImpl* m_session;
v8::Isolate* m_isolate;
- protocol::HeapProfiler::Frontend* m_frontend;
+ protocol::HeapProfiler::Frontend m_frontend;
protocol::DictionaryValue* m_state;
bool m_hasTimer;
};

Powered by Google App Engine
This is Rietveld 408576698