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

Unified Diff: runtime/observatory/lib/src/service/object.dart

Issue 1765563002: Stream blocks of timeline events over the service protocol (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | runtime/observatory/tests/service/service_test_common.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {
« no previous file with comments | « no previous file | runtime/observatory/tests/service/service_test_common.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698