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 b2216e40b4d420d62ed2dcfbfff47345299e3d41..8746f8580c8dbe2358e01655a4d22f2a3439143f 100644 |
--- a/runtime/observatory/lib/src/app/page.dart |
+++ b/runtime/observatory/lib/src/app/page.dart |
@@ -199,6 +199,24 @@ class DebuggerPage extends SimplePage { |
} |
} |
+ |
+class ObjectStorePage extends SimplePage { |
+ ObjectStorePage(app) : super('object-store', 'objectstore-view', app); |
+ |
+ void _visit(Uri uri) { |
+ super._visit(uri); |
+ getIsolate(uri).then((isolate) { |
+ isolate.getObjectStore().then((objectStore) { |
+ if (element != null) { |
+ /// Update the page. |
+ ObjectStoreView page = element; |
+ page.objectStore = objectStore; |
+ } |
+ }); |
+ }); |
+ } |
+} |
+ |
class CpuProfilerPage extends SimplePage { |
CpuProfilerPage(app) : super('profiler', 'cpu-profile', app); |