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 03b8f703ae1215f193fe27eacc0680923eadd47a..4bbe00be679f9e06570446593e2695703b558ac2 100644 |
--- a/third_party/WebKit/Source/platform/v8_inspector/V8ProfilerAgentImpl.h |
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8ProfilerAgentImpl.h |
@@ -12,6 +12,7 @@ |
#include <vector> |
namespace v8 { |
+class CpuProfiler; |
class Isolate; |
} |
@@ -39,6 +40,7 @@ public: |
private: |
String16 nextProfileId(); |
+ v8::CpuProfiler* profiler(); |
void startProfiling(const String16& title); |
std::unique_ptr<protocol::Profiler::CPUProfile> stopProfiling(const String16& title, bool serialize); |
@@ -47,6 +49,7 @@ private: |
V8InspectorSessionImpl* m_session; |
v8::Isolate* m_isolate; |
+ v8::CpuProfiler* m_profiler; |
protocol::DictionaryValue* m_state; |
protocol::Profiler::Frontend m_frontend; |
bool m_enabled; |
@@ -58,5 +61,4 @@ private: |
} // namespace blink |
- |
#endif // !defined(V8ProfilerAgentImpl_h) |