Index: src/inspector/v8-debugger-agent-impl.h |
diff --git a/src/inspector/v8-debugger-agent-impl.h b/src/inspector/v8-debugger-agent-impl.h |
index 65550c76a02f8dbe0bdd283217ab2f6801fbf9d9..c61b09ea82b19402a9f45c737f83c214548c1115 100644 |
--- a/src/inspector/v8-debugger-agent-impl.h |
+++ b/src/inspector/v8-debugger-agent-impl.h |
@@ -88,6 +88,8 @@ class V8DebuggerAgentImpl : public protocol::Debugger::Backend { |
Response stepOver() override; |
Response stepInto() override; |
Response stepOut() override; |
+ void scheduleStepIntoAsync( |
+ std::unique_ptr<ScheduleStepIntoAsyncCallback> callback) override; |
Response setPauseOnExceptions(const String16& pauseState) override; |
Response evaluateOnCallFrame( |
const String16& callFrameId, const String16& expression, |
@@ -143,6 +145,9 @@ class V8DebuggerAgentImpl : public protocol::Debugger::Backend { |
v8::Isolate* isolate() { return m_isolate; } |
+ bool isStepIntoAsyncScheduled() { return m_stepIntoAsyncCallback.get(); } |
+ void stepIntoAsyncWasScheduled(); |
+ |
private: |
void enableImpl(); |
@@ -212,6 +217,8 @@ class V8DebuggerAgentImpl : public protocol::Debugger::Backend { |
protocol::HashMap<String16, std::vector<std::pair<int, int>>> |
m_blackboxedPositions; |
+ std::unique_ptr<ScheduleStepIntoAsyncCallback> m_stepIntoAsyncCallback; |
+ |
DISALLOW_COPY_AND_ASSIGN(V8DebuggerAgentImpl); |
}; |