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

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

Issue 2087953004: Switch v8 inspector to stl collections (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 5 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 V8ProfilerAgentImpl_h 5 #ifndef V8ProfilerAgentImpl_h
6 #define V8ProfilerAgentImpl_h 6 #define V8ProfilerAgentImpl_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/Profiler.h" 10 #include "platform/v8_inspector/protocol/Profiler.h"
11 11
12 #include <vector>
13
12 namespace v8 { 14 namespace v8 {
13 class Isolate; 15 class Isolate;
14 } 16 }
15 17
16 namespace blink { 18 namespace blink {
17 19
18 class V8InspectorSessionImpl; 20 class V8InspectorSessionImpl;
19 21
20 class V8ProfilerAgentImpl : public protocol::Profiler::Backend { 22 class V8ProfilerAgentImpl : public protocol::Profiler::Backend {
21 PROTOCOL_DISALLOW_COPY(V8ProfilerAgentImpl); 23 PROTOCOL_DISALLOW_COPY(V8ProfilerAgentImpl);
(...skipping 21 matching lines...) Expand all
43 45
44 bool isRecording() const; 46 bool isRecording() const;
45 47
46 V8InspectorSessionImpl* m_session; 48 V8InspectorSessionImpl* m_session;
47 v8::Isolate* m_isolate; 49 v8::Isolate* m_isolate;
48 protocol::DictionaryValue* m_state; 50 protocol::DictionaryValue* m_state;
49 protocol::Profiler::Frontend m_frontend; 51 protocol::Profiler::Frontend m_frontend;
50 bool m_enabled; 52 bool m_enabled;
51 bool m_recordingCPUProfile; 53 bool m_recordingCPUProfile;
52 class ProfileDescriptor; 54 class ProfileDescriptor;
53 protocol::Vector<ProfileDescriptor> m_startedProfiles; 55 std::vector<ProfileDescriptor> m_startedProfiles;
54 String16 m_frontendInitiatedProfileId; 56 String16 m_frontendInitiatedProfileId;
55 }; 57 };
56 58
57 } // namespace blink 59 } // namespace blink
58 60
59 61
60 #endif // !defined(V8ProfilerAgentImpl_h) 62 #endif // !defined(V8ProfilerAgentImpl_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698