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

Unified Diff: runtime/bin/main.cc

Issue 1166433008: 2nd attempt at adding streamListen/streamCancel to the service protocol. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: fix context objects Created 5 years, 6 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
« no previous file with comments | « no previous file | runtime/bin/vmservice/server.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/main.cc
diff --git a/runtime/bin/main.cc b/runtime/bin/main.cc
index 7bb98a12a1a9fdb668207f69496db8c805923481..d1e80d6e7a1f55e2560ac060da87df5559018ea0 100644
--- a/runtime/bin/main.cc
+++ b/runtime/bin/main.cc
@@ -834,8 +834,8 @@ class DartScope {
};
-static const char* ServiceRequestHandler(
- const char* name,
+static const char* ServiceGetIOHandler(
+ const char* method,
const char** param_keys,
const char** param_values,
intptr_t num_params,
@@ -957,7 +957,7 @@ void main(int argc, char** argv) {
}
Dart_RegisterIsolateServiceRequestCallback(
- "io", &ServiceRequestHandler, NULL);
+ "getIO", &ServiceGetIOHandler, NULL);
// Call CreateIsolateAndSetup which creates an isolate and loads up
// the specified application script.
« no previous file with comments | « no previous file | runtime/bin/vmservice/server.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698