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

Unified Diff: runtime/vm/service/vmservice.dart

Issue 897193002: Finish moving service protocol to json rpc. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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
Index: runtime/vm/service/vmservice.dart
diff --git a/runtime/vm/service/vmservice.dart b/runtime/vm/service/vmservice.dart
index 3c5ed243ff6a8cf1cc4dd9e79114ecbe9fef38ef..18a2d778b1a2e02901f34fd59cc5426436837efd 100644
--- a/runtime/vm/service/vmservice.dart
+++ b/runtime/vm/service/vmservice.dart
@@ -142,14 +142,8 @@ class VMService extends MessageRouter {
_clientCollection(message);
return message.response;
}
- if (message.isOld) {
- if (message.path[0] == 'isolates') {
- return runningIsolates.route(message);
- }
- } else {
- if (message.params['isolate'] != null) {
- return runningIsolates.route(message);
- }
+ if (message.params['isolate'] != null) {
Cutch 2015/02/05 14:54:48 in the Uri we use 'isolateId' but here we use the
+ return runningIsolates.route(message);
}
return message.sendToVM();
}

Powered by Google App Engine
This is Rietveld 408576698