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