| OLD | NEW |
| 1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 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_DEBUG_DEBUG_INTERFACE_H_ | 5 #ifndef V8_DEBUG_DEBUG_INTERFACE_H_ |
| 6 #define V8_DEBUG_DEBUG_INTERFACE_H_ | 6 #define V8_DEBUG_DEBUG_INTERFACE_H_ |
| 7 | 7 |
| 8 #include "include/v8-debug.h" | 8 #include "include/v8-debug.h" |
| 9 #include "include/v8-util.h" | 9 #include "include/v8-util.h" |
| 10 #include "include/v8.h" | 10 #include "include/v8.h" |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 | 195 |
| 196 private: | 196 private: |
| 197 int GetSourcePosition(const Location& location) const; | 197 int GetSourcePosition(const Location& location) const; |
| 198 }; | 198 }; |
| 199 | 199 |
| 200 /** | 200 /** |
| 201 * Return array of compiled scripts. | 201 * Return array of compiled scripts. |
| 202 */ | 202 */ |
| 203 static void GetLoadedScripts(Isolate* isolate, | 203 static void GetLoadedScripts(Isolate* isolate, |
| 204 PersistentValueVector<Script>& scripts); | 204 PersistentValueVector<Script>& scripts); |
| 205 |
| 206 static MaybeLocal<UnboundScript> CompileInspectorScript(Isolate* isolate, |
| 207 Local<String> source); |
| 205 }; | 208 }; |
| 206 | 209 |
| 207 } // namespace v8 | 210 } // namespace v8 |
| 208 | 211 |
| 209 #endif // V8_DEBUG_DEBUG_INTERFACE_H_ | 212 #endif // V8_DEBUG_DEBUG_INTERFACE_H_ |
| OLD | NEW |