OLD | NEW |
1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 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_V8DEBUGGER_H_ | 5 #ifndef V8_INSPECTOR_V8DEBUGGER_H_ |
6 #define V8_INSPECTOR_V8DEBUGGER_H_ | 6 #define V8_INSPECTOR_V8DEBUGGER_H_ |
7 | 7 |
8 #include "src/inspector/Allocator.h" | 8 #include "src/inspector/Allocator.h" |
9 #include "src/inspector/JavaScriptCallFrame.h" | 9 #include "src/inspector/JavaScriptCallFrame.h" |
10 #include "src/inspector/V8DebuggerScript.h" | 10 #include "src/inspector/V8DebuggerScript.h" |
11 #include "src/inspector/protocol/Forward.h" | 11 #include "src/inspector/protocol/Forward.h" |
12 #include "src/inspector/protocol/Runtime.h" | 12 #include "src/inspector/protocol/Runtime.h" |
13 #include "src/inspector/public/StringView.h" | |
14 #include "src/inspector/public/V8ContextInfo.h" | |
15 | 13 |
16 #include <v8-debug.h> | 14 #include "include/v8-debug.h" |
17 #include <v8.h> | 15 #include "include/v8-inspector.h" |
| 16 |
18 #include <vector> | 17 #include <vector> |
19 | 18 |
20 namespace v8_inspector { | 19 namespace v8_inspector { |
21 | 20 |
22 struct ScriptBreakpoint; | 21 struct ScriptBreakpoint; |
23 class V8DebuggerAgentImpl; | 22 class V8DebuggerAgentImpl; |
24 class V8InspectorImpl; | 23 class V8InspectorImpl; |
25 class V8StackTraceImpl; | 24 class V8StackTraceImpl; |
26 | 25 |
27 using protocol::ErrorString; | 26 using protocol::ErrorString; |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 protocol::HashSet<void*> m_recurringTasks; | 149 protocol::HashSet<void*> m_recurringTasks; |
151 int m_maxAsyncCallStackDepth; | 150 int m_maxAsyncCallStackDepth; |
152 std::vector<void*> m_currentTasks; | 151 std::vector<void*> m_currentTasks; |
153 std::vector<std::unique_ptr<V8StackTraceImpl>> m_currentStacks; | 152 std::vector<std::unique_ptr<V8StackTraceImpl>> m_currentStacks; |
154 protocol::HashMap<V8DebuggerAgentImpl*, int> m_maxAsyncCallStackDepthMap; | 153 protocol::HashMap<V8DebuggerAgentImpl*, int> m_maxAsyncCallStackDepthMap; |
155 }; | 154 }; |
156 | 155 |
157 } // namespace v8_inspector | 156 } // namespace v8_inspector |
158 | 157 |
159 #endif // V8_INSPECTOR_V8DEBUGGER_H_ | 158 #endif // V8_INSPECTOR_V8DEBUGGER_H_ |
OLD | NEW |