OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 the V8 project 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 V8_INSPECTOR_V8PROFILERAGENTIMPL_H_ | 5 #ifndef V8_INSPECTOR_V8PROFILERAGENTIMPL_H_ |
6 #define V8_INSPECTOR_V8PROFILERAGENTIMPL_H_ | 6 #define V8_INSPECTOR_V8PROFILERAGENTIMPL_H_ |
7 | 7 |
| 8 #include <vector> |
| 9 |
8 #include "src/inspector/Allocator.h" | 10 #include "src/inspector/Allocator.h" |
9 #include "src/inspector/protocol/Forward.h" | 11 #include "src/inspector/protocol/Forward.h" |
10 #include "src/inspector/protocol/Profiler.h" | 12 #include "src/inspector/protocol/Profiler.h" |
11 | 13 |
12 #include <vector> | |
13 | |
14 namespace v8 { | 14 namespace v8 { |
15 class CpuProfiler; | 15 class CpuProfiler; |
16 class Isolate; | 16 class Isolate; |
17 } | 17 } |
18 | 18 |
19 namespace v8_inspector { | 19 namespace v8_inspector { |
20 | 20 |
21 class V8InspectorSessionImpl; | 21 class V8InspectorSessionImpl; |
22 | 22 |
23 using protocol::ErrorString; | 23 using protocol::ErrorString; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 bool m_enabled; | 60 bool m_enabled; |
61 bool m_recordingCPUProfile; | 61 bool m_recordingCPUProfile; |
62 class ProfileDescriptor; | 62 class ProfileDescriptor; |
63 std::vector<ProfileDescriptor> m_startedProfiles; | 63 std::vector<ProfileDescriptor> m_startedProfiles; |
64 String16 m_frontendInitiatedProfileId; | 64 String16 m_frontendInitiatedProfileId; |
65 }; | 65 }; |
66 | 66 |
67 } // namespace v8_inspector | 67 } // namespace v8_inspector |
68 | 68 |
69 #endif // V8_INSPECTOR_V8PROFILERAGENTIMPL_H_ | 69 #endif // V8_INSPECTOR_V8PROFILERAGENTIMPL_H_ |
OLD | NEW |