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

Unified Diff: runtime/bin/main.cc

Issue 1143783003: Add the streamListen and streamCancel rpcs to the vm service. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: before commit Created 5 years, 7 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 a5c3563cafd32a180469959ac9113f47a91faa22..c88ba52510ca302101e8c37f1e9b91de2542a63d 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,
@@ -952,7 +952,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