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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 std::unique_ptr<protocol::DictionaryValue> data); | 125 std::unique_ptr<protocol::DictionaryValue> data); |
126 | 126 |
127 void reset(); | 127 void reset(); |
128 | 128 |
129 // Interface for V8InspectorImpl | 129 // Interface for V8InspectorImpl |
130 bool didPause(v8::Local<v8::Context>, v8::Local<v8::Value> exception, | 130 bool didPause(v8::Local<v8::Context>, v8::Local<v8::Value> exception, |
131 const std::vector<String16>& hitBreakpoints, | 131 const std::vector<String16>& hitBreakpoints, |
132 bool isPromiseRejection, bool isUncaught, bool isOOMBreak); | 132 bool isPromiseRejection, bool isUncaught, bool isOOMBreak); |
133 void didContinue(); | 133 void didContinue(); |
134 void didParseSource(std::unique_ptr<V8DebuggerScript>, bool success); | 134 void didParseSource(std::unique_ptr<V8DebuggerScript>, bool success); |
| 135 void moduleRequested(const String16& refererId, const String16& requestedId, |
| 136 const String16& specifier); |
135 void willExecuteScript(int scriptId); | 137 void willExecuteScript(int scriptId); |
136 void didExecuteScript(); | 138 void didExecuteScript(); |
137 | 139 |
138 bool isFunctionBlackboxed(const String16& scriptId, | 140 bool isFunctionBlackboxed(const String16& scriptId, |
139 const v8::debug::Location& start, | 141 const v8::debug::Location& start, |
140 const v8::debug::Location& end); | 142 const v8::debug::Location& end); |
141 | 143 |
142 v8::Isolate* isolate() { return m_isolate; } | 144 v8::Isolate* isolate() { return m_isolate; } |
143 | 145 |
144 private: | 146 private: |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 std::unique_ptr<V8Regex> m_blackboxPattern; | 201 std::unique_ptr<V8Regex> m_blackboxPattern; |
200 protocol::HashMap<String16, std::vector<std::pair<int, int>>> | 202 protocol::HashMap<String16, std::vector<std::pair<int, int>>> |
201 m_blackboxedPositions; | 203 m_blackboxedPositions; |
202 | 204 |
203 DISALLOW_COPY_AND_ASSIGN(V8DebuggerAgentImpl); | 205 DISALLOW_COPY_AND_ASSIGN(V8DebuggerAgentImpl); |
204 }; | 206 }; |
205 | 207 |
206 } // namespace v8_inspector | 208 } // namespace v8_inspector |
207 | 209 |
208 #endif // V8_INSPECTOR_V8DEBUGGERAGENTIMPL_H_ | 210 #endif // V8_INSPECTOR_V8DEBUGGERAGENTIMPL_H_ |
OLD | NEW |