| 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> |
| 9 |
| 8 #include "src/base/macros.h" | 10 #include "src/base/macros.h" |
| 9 #include "src/inspector/java-script-call-frame.h" | 11 #include "src/inspector/java-script-call-frame.h" |
| 10 #include "src/inspector/protocol/Debugger.h" | 12 #include "src/inspector/protocol/Debugger.h" |
| 11 #include "src/inspector/protocol/Forward.h" | 13 #include "src/inspector/protocol/Forward.h" |
| 12 | 14 |
| 13 #include <vector> | |
| 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 DISALLOW_COPY_AND_ASSIGN(V8DebuggerAgentImpl); | |
| 32 | |
| 33 public: | 31 public: |
| 34 enum SkipPauseRequest { | 32 enum SkipPauseRequest { |
| 35 RequestNoSkip, | 33 RequestNoSkip, |
| 36 RequestContinue, | 34 RequestContinue, |
| 37 RequestStepInto, | 35 RequestStepInto, |
| 38 RequestStepOut, | 36 RequestStepOut, |
| 39 RequestStepFrame | 37 RequestStepFrame |
| 40 }; | 38 }; |
| 41 | 39 |
| 42 enum BreakpointSource { | 40 enum BreakpointSource { |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 bool m_pausingOnNativeEvent; | 208 bool m_pausingOnNativeEvent; |
| 211 | 209 |
| 212 int m_skippedStepFrameCount; | 210 int m_skippedStepFrameCount; |
| 213 int m_recursionLevelForStepOut; | 211 int m_recursionLevelForStepOut; |
| 214 int m_recursionLevelForStepFrame; | 212 int m_recursionLevelForStepFrame; |
| 215 bool m_skipAllPauses; | 213 bool m_skipAllPauses; |
| 216 | 214 |
| 217 std::unique_ptr<V8Regex> m_blackboxPattern; | 215 std::unique_ptr<V8Regex> m_blackboxPattern; |
| 218 protocol::HashMap<String16, std::vector<std::pair<int, int>>> | 216 protocol::HashMap<String16, std::vector<std::pair<int, int>>> |
| 219 m_blackboxedPositions; | 217 m_blackboxedPositions; |
| 218 |
| 219 DISALLOW_COPY_AND_ASSIGN(V8DebuggerAgentImpl); |
| 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 |