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 e3aed9abd80486f1c7928d7c1e167102f09b61db..859478de78e6fff394a571bc20d8026ec0573fd9 100644 |
--- a/third_party/WebKit/Source/platform/v8_inspector/V8HeapProfilerAgentImpl.h |
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8HeapProfilerAgentImpl.h |
@@ -6,7 +6,9 @@ |
#define V8HeapProfilerAgentImpl_h |
#include "platform/inspector_protocol/Allocator.h" |
-#include "platform/v8_inspector/public/V8HeapProfilerAgent.h" |
+#include "platform/inspector_protocol/Backend.h" |
+#include "platform/inspector_protocol/Frontend.h" |
+#include "platform/inspector_protocol/String16.h" |
namespace blink { |
@@ -14,16 +16,12 @@ class V8InspectorSessionImpl; |
using protocol::Maybe; |
-class V8HeapProfilerAgentImpl : public V8HeapProfilerAgent { |
+class V8HeapProfilerAgentImpl : public protocol::Backend::HeapProfiler { |
PROTOCOL_DISALLOW_COPY(V8HeapProfilerAgentImpl); |
public: |
- explicit V8HeapProfilerAgentImpl(V8InspectorSessionImpl*); |
+ V8HeapProfilerAgentImpl(V8InspectorSessionImpl*, protocol::Frontend::HeapProfiler*, protocol::DictionaryValue* state); |
~V8HeapProfilerAgentImpl() override; |
- |
- void setInspectorState(protocol::DictionaryValue* state) override { m_state = state; } |
- void setFrontend(protocol::Frontend::HeapProfiler* frontend) override { m_frontend = frontend; } |
- void clearFrontend() override; |
- void restore() override; |
+ void restore(); |
void collectGarbage(ErrorString*) override; |