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

Unified Diff: runtime/bin/main.cc

Issue 1152283005: Revert "Add the streamListen and streamCancel rpcs to the vm service." (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: 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 c88ba52510ca302101e8c37f1e9b91de2542a63d..a5c3563cafd32a180469959ac9113f47a91faa22 100644
--- a/runtime/bin/main.cc
+++ b/runtime/bin/main.cc
@@ -834,8 +834,8 @@ class DartScope {
};
-static const char* ServiceGetIOHandler(
- const char* method,
+static const char* ServiceRequestHandler(
+ const char* name,
const char** param_keys,
const char** param_values,
intptr_t num_params,
@@ -952,7 +952,7 @@ void main(int argc, char** argv) {
}
Dart_RegisterIsolateServiceRequestCallback(
- "getIO", &ServiceGetIOHandler, NULL);
+ "io", &ServiceRequestHandler, 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