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 "src/inspector/Allocator.h" | 8 #include "src/base/macros.h" |
9 #include "src/inspector/JavaScriptCallFrame.h" | 9 #include "src/inspector/JavaScriptCallFrame.h" |
10 #include "src/inspector/protocol/Debugger.h" | 10 #include "src/inspector/protocol/Debugger.h" |
11 #include "src/inspector/protocol/Forward.h" | 11 #include "src/inspector/protocol/Forward.h" |
12 | 12 |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 namespace v8_inspector { | 15 namespace v8_inspector { |
16 | 16 |
17 struct ScriptBreakpoint; | 17 struct ScriptBreakpoint; |
18 class JavaScriptCallFrame; | 18 class JavaScriptCallFrame; |
19 class PromiseTracker; | 19 class PromiseTracker; |
20 class V8Debugger; | 20 class V8Debugger; |
21 class V8DebuggerScript; | 21 class V8DebuggerScript; |
22 class V8InspectorImpl; | 22 class V8InspectorImpl; |
23 class V8InspectorSessionImpl; | 23 class V8InspectorSessionImpl; |
24 class V8Regex; | 24 class V8Regex; |
25 class V8StackTraceImpl; | 25 class V8StackTraceImpl; |
26 | 26 |
27 using protocol::ErrorString; | 27 using protocol::ErrorString; |
28 using protocol::Maybe; | 28 using protocol::Maybe; |
29 | 29 |
30 class V8DebuggerAgentImpl : public protocol::Debugger::Backend { | 30 class V8DebuggerAgentImpl : public protocol::Debugger::Backend { |
31 V8_INSPECTOR_DISALLOW_COPY(V8DebuggerAgentImpl); | 31 DISALLOW_COPY_AND_ASSIGN(V8DebuggerAgentImpl); |
32 | 32 |
33 public: | 33 public: |
34 enum SkipPauseRequest { | 34 enum SkipPauseRequest { |
35 RequestNoSkip, | 35 RequestNoSkip, |
36 RequestContinue, | 36 RequestContinue, |
37 RequestStepInto, | 37 RequestStepInto, |
38 RequestStepOut, | 38 RequestStepOut, |
39 RequestStepFrame | 39 RequestStepFrame |
40 }; | 40 }; |
41 | 41 |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 bool m_skipAllPauses; | 215 bool m_skipAllPauses; |
216 | 216 |
217 std::unique_ptr<V8Regex> m_blackboxPattern; | 217 std::unique_ptr<V8Regex> m_blackboxPattern; |
218 protocol::HashMap<String16, std::vector<std::pair<int, int>>> | 218 protocol::HashMap<String16, std::vector<std::pair<int, int>>> |
219 m_blackboxedPositions; | 219 m_blackboxedPositions; |
220 }; | 220 }; |
221 | 221 |
222 } // namespace v8_inspector | 222 } // namespace v8_inspector |
223 | 223 |
224 #endif // V8_INSPECTOR_V8DEBUGGERAGENTIMPL_H_ | 224 #endif // V8_INSPECTOR_V8DEBUGGERAGENTIMPL_H_ |
OLD | NEW |