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" |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 std::unique_ptr<protocol::DictionaryValue> data); | 130 std::unique_ptr<protocol::DictionaryValue> data); |
131 void breakProgramOnException(const String16& breakReason, | 131 void breakProgramOnException(const String16& breakReason, |
132 std::unique_ptr<protocol::DictionaryValue> data); | 132 std::unique_ptr<protocol::DictionaryValue> data); |
133 | 133 |
134 void reset(); | 134 void reset(); |
135 | 135 |
136 // Interface for V8InspectorImpl | 136 // Interface for V8InspectorImpl |
137 SkipPauseRequest didPause(v8::Local<v8::Context>, | 137 SkipPauseRequest didPause(v8::Local<v8::Context>, |
138 v8::Local<v8::Value> exception, | 138 v8::Local<v8::Value> exception, |
139 const std::vector<String16>& hitBreakpoints, | 139 const std::vector<String16>& hitBreakpoints, |
140 bool isPromiseRejection); | 140 bool isPromiseRejection, bool isUncaught); |
141 void didContinue(); | 141 void didContinue(); |
142 void didParseSource(std::unique_ptr<V8DebuggerScript>, bool success); | 142 void didParseSource(std::unique_ptr<V8DebuggerScript>, bool success); |
143 void willExecuteScript(int scriptId); | 143 void willExecuteScript(int scriptId); |
144 void didExecuteScript(); | 144 void didExecuteScript(); |
145 | 145 |
146 v8::Isolate* isolate() { return m_isolate; } | 146 v8::Isolate* isolate() { return m_isolate; } |
147 | 147 |
148 private: | 148 private: |
149 void enableImpl(); | 149 void enableImpl(); |
150 | 150 |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 std::unique_ptr<V8Regex> m_blackboxPattern; | 215 std::unique_ptr<V8Regex> m_blackboxPattern; |
216 protocol::HashMap<String16, std::vector<std::pair<int, int>>> | 216 protocol::HashMap<String16, std::vector<std::pair<int, int>>> |
217 m_blackboxedPositions; | 217 m_blackboxedPositions; |
218 | 218 |
219 DISALLOW_COPY_AND_ASSIGN(V8DebuggerAgentImpl); | 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 |