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

Unified Diff: runtime/bin/vmservice/client/lib/src/observatory/application.dart

Issue 50243002: Extend Observatory to display libraries, classes, fields, functions and code. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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/bin/vmservice/client/lib/src/observatory/application.dart
diff --git a/runtime/bin/vmservice/client/lib/src/observatory/application.dart b/runtime/bin/vmservice/client/lib/src/observatory/application.dart
index d6fb05678b80a862b2166183b01d883194df03f6..f321dbe93423cbae4ca00e210ce1b4d3345b7742 100644
--- a/runtime/bin/vmservice/client/lib/src/observatory/application.dart
+++ b/runtime/bin/vmservice/client/lib/src/observatory/application.dart
@@ -6,12 +6,15 @@ part of observatory;
/// The observatory application. Instances of this are created and owned
/// by the observatory_application custom element.
-class ObservatoryApplication {
- final LocationManager locationManager = new LocationManager();
- final RequestManager requestManager = new HttpRequestManager();
- final IsolateManager isolateManager = new IsolateManager();
+class ObservatoryApplication extends Observable {
+ @observable final LocationManager locationManager;
+ @observable final RequestManager requestManager;
+ @observable final IsolateManager isolateManager;
- ObservatoryApplication() {
+ ObservatoryApplication() :
+ locationManager = new LocationManager(),
+ requestManager = new HttpRequestManager(),
+ isolateManager = new IsolateManager() {
locationManager._application = this;
requestManager._application = this;
isolateManager._application = this;

Powered by Google App Engine
This is Rietveld 408576698