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

Unified Diff: runtime/observatory/lib/src/app/page.dart

Issue 2211603002: Centralized event streams (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Merged with master Created 4 years, 4 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
Index: runtime/observatory/lib/src/app/page.dart
diff --git a/runtime/observatory/lib/src/app/page.dart b/runtime/observatory/lib/src/app/page.dart
index 980fcfa464d8bc242737913b122ffb386fec536c..6387fe153332085cee1b3b13e776bf77ffd478d7 100644
--- a/runtime/observatory/lib/src/app/page.dart
+++ b/runtime/observatory/lib/src/app/page.dart
@@ -124,9 +124,9 @@ class FlagsPage extends SimplePage {
@override
onInstall() {
element = new FlagListElement(app.vm,
- app.vm.changes.map((_) => new VMUpdateEventMock(vm: app.vm)),
- new FlagsRepository(),
- app.notifications);
+ app.events,
+ new FlagsRepository(app.vm),
+ app.notifications);
}
void _visit(Uri uri) {
@@ -362,8 +362,7 @@ class VMConnectPage extends Page {
if (element == null) {
element = new VMConnectElement(
ObservatoryApplication.app.targets,
- new CrashDumpRepositoryMock(
- load: ObservatoryApplication.app.loadCrashDump),
+ ObservatoryApplication.app.loadCrashDump,
ObservatoryApplication.app.notifications,
queue: ObservatoryApplication.app.queue);
}
« no previous file with comments | « runtime/observatory/lib/src/app/notification.dart ('k') | runtime/observatory/lib/src/elements/code_ref.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698