Index: runtime/observatory/lib/src/service/object.dart |
diff --git a/runtime/observatory/lib/src/service/object.dart b/runtime/observatory/lib/src/service/object.dart |
index 567cf26c72ff101d0befcf9b7759b70a90fc32c4..3345716b8f415656ffbc285ccb45efc4e4746b7e 100644 |
--- a/runtime/observatory/lib/src/service/object.dart |
+++ b/runtime/observatory/lib/src/service/object.dart |
@@ -849,6 +849,7 @@ abstract class VM extends ServiceObjectOwner { |
// Well-known stream ids. |
static const kVMStream = 'VM'; |
static const kIsolateStream = 'Isolate'; |
+ static const kTimelineStream = 'Timeline'; |
static const kDebugStream = 'Debug'; |
static const kGCStream = 'GC'; |
static const kStdoutStream = 'Stdout'; |
@@ -1857,6 +1858,7 @@ class ServiceEvent extends ServiceObject { |
@observable Map logRecord; |
@observable String extensionKind; |
@observable Map extensionData; |
+ @observable List timelineEvents; |
int chunkIndex, chunkCount, nodeCount; |
@@ -1935,6 +1937,9 @@ class ServiceEvent extends ServiceObject { |
extensionKind = map['extensionKind']; |
extensionData = map['extensionData']; |
} |
+ if (map['timelineEvents'] != null) { |
+ timelineEvents = map['timelineEvents']; |
+ } |
} |
String toString() { |