Index: src/inspector/v8-debugger.h |
diff --git a/src/inspector/v8-debugger.h b/src/inspector/v8-debugger.h |
index 0f966d7e2f5b4a154a0a287d0c307d5c584d9c4c..ef4a8f19539e6a4c71ed24957370f872fef50c2f 100644 |
--- a/src/inspector/v8-debugger.h |
+++ b/src/inspector/v8-debugger.h |
@@ -126,8 +126,19 @@ class V8Debugger { |
v8::Local<v8::Object>); |
v8::Local<v8::Value> functionLocation(v8::Local<v8::Context>, |
v8::Local<v8::Function>); |
+ |
+ enum ScopeTargetKind { |
+ FUNCTION, |
+ GENERATOR, |
+ }; |
+ v8::MaybeLocal<v8::Value> getTargetScopes(v8::Local<v8::Context>, |
+ v8::Local<v8::Value>, |
+ ScopeTargetKind); |
+ |
v8::MaybeLocal<v8::Value> functionScopes(v8::Local<v8::Context>, |
v8::Local<v8::Function>); |
+ v8::MaybeLocal<v8::Value> generatorScopes(v8::Local<v8::Context>, |
+ v8::Local<v8::Value>); |
v8::Isolate* m_isolate; |
V8InspectorImpl* m_inspector; |