OLD | NEW |
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 V8DebuggerAgentImpl_h | 5 #ifndef V8DebuggerAgentImpl_h |
6 #define V8DebuggerAgentImpl_h | 6 #define V8DebuggerAgentImpl_h |
7 | 7 |
8 #include "platform/inspector_protocol/InspectorProtocol.h" | 8 #include "platform/v8_inspector/Allocator.h" |
9 #include "platform/v8_inspector/JavaScriptCallFrame.h" | 9 #include "platform/v8_inspector/JavaScriptCallFrame.h" |
10 #include "platform/v8_inspector/protocol/Debugger.h" | 10 #include "platform/v8_inspector/protocol/Debugger.h" |
| 11 #include "platform/v8_inspector/protocol/Forward.h" |
11 | 12 |
12 #include <vector> | 13 #include <vector> |
13 | 14 |
14 namespace v8_inspector { | 15 namespace v8_inspector { |
15 | 16 |
16 struct ScriptBreakpoint; | 17 struct ScriptBreakpoint; |
17 class JavaScriptCallFrame; | 18 class JavaScriptCallFrame; |
18 class PromiseTracker; | 19 class PromiseTracker; |
19 class V8Debugger; | 20 class V8Debugger; |
20 class V8DebuggerScript; | 21 class V8DebuggerScript; |
21 class V8InspectorImpl; | 22 class V8InspectorImpl; |
22 class V8InspectorSessionImpl; | 23 class V8InspectorSessionImpl; |
23 class V8Regex; | 24 class V8Regex; |
24 class V8StackTraceImpl; | 25 class V8StackTraceImpl; |
25 | 26 |
26 namespace protocol = blink::protocol; | 27 using protocol::ErrorString; |
27 using blink::protocol::Maybe; | 28 using protocol::Maybe; |
28 | 29 |
29 class V8DebuggerAgentImpl : public protocol::Debugger::Backend { | 30 class V8DebuggerAgentImpl : public protocol::Debugger::Backend { |
30 PROTOCOL_DISALLOW_COPY(V8DebuggerAgentImpl); | 31 V8_INSPECTOR_DISALLOW_COPY(V8DebuggerAgentImpl); |
31 public: | 32 public: |
32 enum SkipPauseRequest { | 33 enum SkipPauseRequest { |
33 RequestNoSkip, | 34 RequestNoSkip, |
34 RequestContinue, | 35 RequestContinue, |
35 RequestStepInto, | 36 RequestStepInto, |
36 RequestStepOut, | 37 RequestStepOut, |
37 RequestStepFrame | 38 RequestStepFrame |
38 }; | 39 }; |
39 | 40 |
40 enum BreakpointSource { | 41 enum BreakpointSource { |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 int m_recursionLevelForStepFrame; | 204 int m_recursionLevelForStepFrame; |
204 bool m_skipAllPauses; | 205 bool m_skipAllPauses; |
205 | 206 |
206 std::unique_ptr<V8Regex> m_blackboxPattern; | 207 std::unique_ptr<V8Regex> m_blackboxPattern; |
207 protocol::HashMap<String16, std::vector<std::pair<int, int>>> m_blackboxedPo
sitions; | 208 protocol::HashMap<String16, std::vector<std::pair<int, int>>> m_blackboxedPo
sitions; |
208 }; | 209 }; |
209 | 210 |
210 } // namespace v8_inspector | 211 } // namespace v8_inspector |
211 | 212 |
212 #endif // V8DebuggerAgentImpl_h | 213 #endif // V8DebuggerAgentImpl_h |
OLD | NEW |