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

Unified Diff: runtime/bin/vmservice/client/lib/src/service/object.dart

Issue 286903010: Add dart:io view to the observatory. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add missing files. Created 6 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 | « runtime/bin/vmservice/client/lib/src/elements/service_view.dart ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/vmservice/client/lib/src/service/object.dart
diff --git a/runtime/bin/vmservice/client/lib/src/service/object.dart b/runtime/bin/vmservice/client/lib/src/service/object.dart
index fc34a83b24ac8378d8612e2b52e043b5ab354a7d..9665991c2a1e574c14cedfb0d2bfae723cacff30 100644
--- a/runtime/bin/vmservice/client/lib/src/service/object.dart
+++ b/runtime/bin/vmservice/client/lib/src/service/object.dart
@@ -500,6 +500,7 @@ class Isolate extends ServiceObjectOwner {
@observable bool running = false;
@observable bool idle = false;
@observable bool loading = true;
+ @observable bool ioEnabled = false;
Map<String,ServiceObject> _cache = new Map<String,ServiceObject>();
final TagProfile tagProfile = new TagProfile(20);
@@ -699,6 +700,14 @@ class Isolate extends ServiceObjectOwner {
newHeapCapacity = map['heap']['capacityNew'];
oldHeapCapacity = map['heap']['capacityOld'];
+ List features = map['features'];
+ if (features != null) {
+ for (var feature in features) {
+ if (feature == 'io') {
+ ioEnabled = true;
+ }
+ }
+ }
// Isolate status
pauseEvent = map['pauseEvent'];
running = (!_isPaused && map['topFrame'] != null);
« no previous file with comments | « runtime/bin/vmservice/client/lib/src/elements/service_view.dart ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698