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

Unified Diff: src/debug.cc

Issue 481005: Extend DebugAgent API with AsyncDebugRunner (Closed)
Patch Set: documentation Created 11 years 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
« no previous file with comments | « src/debug.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/debug.cc
diff --git a/src/debug.cc b/src/debug.cc
index 2c4552effeabb5ab42abea5f91d97a9c7fe99329..adb41f20f662278438ad1bdba4cc73afaa603845 100644
--- a/src/debug.cc
+++ b/src/debug.cc
@@ -2483,7 +2483,10 @@ Handle<Object> Debugger::Call(Handle<JSFunction> fun,
}
-bool Debugger::StartAgent(const char* name, int port) {
+bool Debugger::StartAgent(const char* name, int port
+ AsyncDebugRunner async_debug_runner) {
+ // TODO(peter.rybin): make use of async_debug_runner
+
if (Socket::Setup()) {
agent_ = new DebuggerAgent(name, port);
agent_->Start();
« no previous file with comments | « src/debug.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698