Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1601)

Unified Diff: src/inspector/v8-debugger-agent-impl.h

Issue 2723273002: [inspector] introduced Debugger.scheduleStepIntoAsync (Closed)
Patch Set: fixed Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..45402dd6a2d316a911dc24da1a459acc55c4bc6a 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,8 @@ class V8DebuggerAgentImpl : public protocol::Debugger::Backend {
v8::Isolate* isolate() { return m_isolate; }
+ bool shouldBreakInScheduledAsyncTask();
+
private:
void enableImpl();
@@ -212,6 +216,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);
};

Powered by Google App Engine
This is Rietveld 408576698