| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8HeapProfilerAgentImpl_h | 5 #ifndef V8HeapProfilerAgentImpl_h |
| 6 #define V8HeapProfilerAgentImpl_h | 6 #define V8HeapProfilerAgentImpl_h |
| 7 | 7 |
| 8 #include "platform/inspector_protocol/Allocator.h" | 8 #include "platform/inspector_protocol/Allocator.h" |
| 9 #include "platform/inspector_protocol/String16.h" | 9 #include "platform/inspector_protocol/String16.h" |
| 10 #include "platform/inspector_protocol/TypeBuilder.h" | 10 #include "platform/v8_inspector/protocol/HeapProfiler.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 class V8InspectorSessionImpl; | 14 class V8InspectorSessionImpl; |
| 15 | 15 |
| 16 using protocol::Maybe; | 16 using protocol::Maybe; |
| 17 | 17 |
| 18 class V8HeapProfilerAgentImpl : public protocol::HeapProfiler::Backend { | 18 class V8HeapProfilerAgentImpl : public protocol::HeapProfiler::Backend { |
| 19 PROTOCOL_DISALLOW_COPY(V8HeapProfilerAgentImpl); | 19 PROTOCOL_DISALLOW_COPY(V8HeapProfilerAgentImpl); |
| 20 public: | 20 public: |
| (...skipping 27 matching lines...) Expand all Loading... |
| 48 V8InspectorSessionImpl* m_session; | 48 V8InspectorSessionImpl* m_session; |
| 49 v8::Isolate* m_isolate; | 49 v8::Isolate* m_isolate; |
| 50 protocol::HeapProfiler::Frontend m_frontend; | 50 protocol::HeapProfiler::Frontend m_frontend; |
| 51 protocol::DictionaryValue* m_state; | 51 protocol::DictionaryValue* m_state; |
| 52 bool m_hasTimer; | 52 bool m_hasTimer; |
| 53 }; | 53 }; |
| 54 | 54 |
| 55 } // namespace blink | 55 } // namespace blink |
| 56 | 56 |
| 57 #endif // !defined(V8HeapProfilerAgentImpl_h) | 57 #endif // !defined(V8HeapProfilerAgentImpl_h) |
| OLD | NEW |