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_V8DEBUGGERAGENTIMPL_H_ | 5 #ifndef V8_INSPECTOR_V8DEBUGGERAGENTIMPL_H_ |
6 #define V8_INSPECTOR_V8DEBUGGERAGENTIMPL_H_ | 6 #define V8_INSPECTOR_V8DEBUGGERAGENTIMPL_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "src/base/macros.h" | 10 #include "src/base/macros.h" |
11 #include "src/debug/interface-types.h" | 11 #include "src/debug/interface-types.h" |
12 #include "src/inspector/java-script-call-frame.h" | 12 #include "src/inspector/java-script-call-frame.h" |
13 #include "src/inspector/protocol/Debugger.h" | 13 #include "src/inspector/protocol/Debugger.h" |
14 #include "src/inspector/protocol/Forward.h" | 14 #include "src/inspector/protocol/Forward.h" |
15 | 15 |
16 namespace v8_inspector { | 16 namespace v8_inspector { |
17 | 17 |
18 struct ScriptBreakpoint; | 18 struct ScriptBreakpoint; |
19 class JavaScriptCallFrame; | 19 class JavaScriptCallFrame; |
20 class PromiseTracker; | 20 class PromiseTracker; |
21 class V8Debugger; | 21 class V8Debugger; |
22 class V8DebuggerScript; | 22 class V8DebuggerScript; |
23 class V8InspectorImpl; | 23 class V8InspectorImpl; |
24 class V8InspectorSessionImpl; | 24 class V8InspectorSessionImpl; |
25 class V8Regex; | 25 class V8Regex; |
| 26 class V8StackTraceImpl; |
26 | 27 |
27 using protocol::Maybe; | 28 using protocol::Maybe; |
28 using protocol::Response; | 29 using protocol::Response; |
29 | 30 |
30 class V8DebuggerAgentImpl : public protocol::Debugger::Backend { | 31 class V8DebuggerAgentImpl : public protocol::Debugger::Backend { |
31 public: | 32 public: |
32 enum BreakpointSource { | 33 enum BreakpointSource { |
33 UserBreakpointSource, | 34 UserBreakpointSource, |
34 DebugCommandBreakpointSource, | 35 DebugCommandBreakpointSource, |
35 MonitorCommandBreakpointSource | 36 MonitorCommandBreakpointSource |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 std::unique_ptr<V8Regex> m_blackboxPattern; | 201 std::unique_ptr<V8Regex> m_blackboxPattern; |
201 protocol::HashMap<String16, std::vector<std::pair<int, int>>> | 202 protocol::HashMap<String16, std::vector<std::pair<int, int>>> |
202 m_blackboxedPositions; | 203 m_blackboxedPositions; |
203 | 204 |
204 DISALLOW_COPY_AND_ASSIGN(V8DebuggerAgentImpl); | 205 DISALLOW_COPY_AND_ASSIGN(V8DebuggerAgentImpl); |
205 }; | 206 }; |
206 | 207 |
207 } // namespace v8_inspector | 208 } // namespace v8_inspector |
208 | 209 |
209 #endif // V8_INSPECTOR_V8DEBUGGERAGENTIMPL_H_ | 210 #endif // V8_INSPECTOR_V8DEBUGGERAGENTIMPL_H_ |
OLD | NEW |