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

Unified Diff: sdk/lib/vmservice/running_isolates.dart

Issue 2980733003: Introduced support for external services registration in the ServiceProtocol (Closed)
Patch Set: Address comments Created 3 years, 5 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 | « sdk/lib/vmservice/running_isolate.dart ('k') | sdk/lib/vmservice/vmservice.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/vmservice/running_isolates.dart
diff --git a/sdk/lib/vmservice/running_isolates.dart b/sdk/lib/vmservice/running_isolates.dart
index daf4442c3160e8b09f45eb30c64b820f8fe8c905..63b72d560a84d182f59535474e12d7dc2125e7f4 100644
--- a/sdk/lib/vmservice/running_isolates.dart
+++ b/sdk/lib/vmservice/running_isolates.dart
@@ -25,7 +25,7 @@ class RunningIsolates implements MessageRouter {
isolates.remove(portId);
}
- Future<String> route(Message message) {
+ Future<String> routeRequest(Message message) {
String isolateParam = message.params['isolateId'];
int isolateId;
if (!isolateParam.startsWith('isolates/')) {
@@ -57,6 +57,8 @@ class RunningIsolates implements MessageRouter {
message.setResponse(encodeResult(message, result));
return message.response;
}
- return isolate.route(message);
+ return isolate.routeRequest(message);
}
+
+ void routeResponse(Message message) {}
}
« no previous file with comments | « sdk/lib/vmservice/running_isolate.dart ('k') | sdk/lib/vmservice/vmservice.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698