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

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

Issue 98253009: Refactor VM service IDs (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years 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/running_isolates.dart
diff --git a/runtime/bin/vmservice/running_isolates.dart b/runtime/bin/vmservice/running_isolates.dart
index 36a0c48405ce21ae313a7df5b827e57a12d1086a..db93d089c5d0354599a758d067fa0d1e03bad7ba 100644
--- a/runtime/bin/vmservice/running_isolates.dart
+++ b/runtime/bin/vmservice/running_isolates.dart
@@ -29,8 +29,9 @@ class RunningIsolates implements MessageRouter {
var result = {};
isolates.forEach((portId, runningIsolate) {
members.add({
- 'id': portId,
- 'name': runningIsolate.name
+ 'type': 'Isolate',
+ 'id': 'isolates/$portId',
+ 'name': runningIsolate.name,
});
});
result['type'] = 'IsolateList';

Powered by Google App Engine
This is Rietveld 408576698