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

Unified Diff: runtime/bin/vmservice/vmservice.dart

Issue 131973007: Allow root level requests in the vm service. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 11 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/bin/vmservice/vmservice.dart
===================================================================
--- runtime/bin/vmservice/vmservice.dart (revision 31674)
+++ runtime/bin/vmservice/vmservice.dart (working copy)
@@ -83,9 +83,10 @@
_clientCollection(message);
return message.response;
}
- return runningIsolates.route(message);
+ if (message.path[0] == 'isolates') {
+ return runningIsolates.route(message);
+ }
+
+ return message.sendToVM();
}
}
-
-void sendServiceMessage(SendPort sp, Object m)
- native "VMService_SendServiceMessage";

Powered by Google App Engine
This is Rietveld 408576698