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

Unified Diff: runtime/observatory/lib/service_common.dart

Issue 1217823009: Make VM event streams look like real dart streams. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: merge with master Created 5 years, 5 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/lib/src/app/application.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/lib/service_common.dart
diff --git a/runtime/observatory/lib/service_common.dart b/runtime/observatory/lib/service_common.dart
index 790efe1b3057982fe558db3f6f866003fcd24c56..0580f5cdbd08a21802eca79a8dcfcfa3b043a504 100644
--- a/runtime/observatory/lib/service_common.dart
+++ b/runtime/observatory/lib/service_common.dart
@@ -208,7 +208,8 @@ abstract class CommonWebSocketVM extends VM {
return;
}
var event = map['event'];
- postServiceEvent(event, data);
+ var streamId = map['streamId'];
+ postServiceEvent(streamId, event, data);
});
}
@@ -219,7 +220,8 @@ abstract class CommonWebSocketVM extends VM {
}
var event = map['event'];
if (event != null) {
- postServiceEvent(event, null);
+ var streamId = map['streamId'];
+ postServiceEvent(streamId, event, null);
return;
}
« no previous file with comments | « no previous file | runtime/observatory/lib/src/app/application.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698