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

Side by Side Diff: third_party/WebKit/Source/platform/v8_inspector/V8HeapProfilerAgentImpl.h

Issue 2044343002: DevTools: update V8Inspector to work with the new v8_inspector API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comment addressed Created 4 years, 6 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 unified diff | Download patch
OLDNEW
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/v8_inspector/protocol/HeapProfiler.h" 10 #include "platform/v8_inspector/protocol/HeapProfiler.h"
11 11
12 #include <v8.h>
13
12 namespace blink { 14 namespace blink {
13 15
14 class V8InspectorSessionImpl; 16 class V8InspectorSessionImpl;
15 17
16 using protocol::Maybe; 18 using protocol::Maybe;
17 19
18 class V8HeapProfilerAgentImpl : public protocol::HeapProfiler::Backend { 20 class V8HeapProfilerAgentImpl : public protocol::HeapProfiler::Backend {
19 PROTOCOL_DISALLOW_COPY(V8HeapProfilerAgentImpl); 21 PROTOCOL_DISALLOW_COPY(V8HeapProfilerAgentImpl);
20 public: 22 public:
21 V8HeapProfilerAgentImpl(V8InspectorSessionImpl*, protocol::FrontendChannel*, protocol::DictionaryValue* state); 23 V8HeapProfilerAgentImpl(V8InspectorSessionImpl*, protocol::FrontendChannel*, protocol::DictionaryValue* state);
(...skipping 26 matching lines...) Expand all
48 V8InspectorSessionImpl* m_session; 50 V8InspectorSessionImpl* m_session;
49 v8::Isolate* m_isolate; 51 v8::Isolate* m_isolate;
50 protocol::HeapProfiler::Frontend m_frontend; 52 protocol::HeapProfiler::Frontend m_frontend;
51 protocol::DictionaryValue* m_state; 53 protocol::DictionaryValue* m_state;
52 bool m_hasTimer; 54 bool m_hasTimer;
53 }; 55 };
54 56
55 } // namespace blink 57 } // namespace blink
56 58
57 #endif // !defined(V8HeapProfilerAgentImpl_h) 59 #endif // !defined(V8HeapProfilerAgentImpl_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698