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

Unified Diff: runtime/observatory/lib/src/elements/objectstore_view.dart

Issue 2005983002: Make the object store visible in Observatory. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: add missing files Created 4 years, 7 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/elements/objectstore_view.dart
diff --git a/runtime/observatory/lib/src/elements/function_view.dart b/runtime/observatory/lib/src/elements/objectstore_view.dart
similarity index 60%
copy from runtime/observatory/lib/src/elements/function_view.dart
copy to runtime/observatory/lib/src/elements/objectstore_view.dart
index 58f206b40bfb9030d14058fb1b8b5dba967ebcc8..a35a2b92b7e4c4b1324b4ef88db8ea95d5c969f8 100644
--- a/runtime/observatory/lib/src/elements/function_view.dart
+++ b/runtime/observatory/lib/src/elements/objectstore_view.dart
@@ -2,20 +2,21 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-library function_view_element;
+library objectstore_view_element;
import 'dart:async';
import 'observatory_element.dart';
import 'package:observatory/service.dart';
-
import 'package:polymer/polymer.dart';
-@CustomTag('function-view')
-class FunctionViewElement extends ObservatoryElement {
- @published ServiceFunction function;
- FunctionViewElement.created() : super.created();
+
+@CustomTag('objectstore-view')
+class ObjectStoreViewElement extends ObservatoryElement {
+ @published ObjectStore objectStore;
+
+ ObjectStoreViewElement.created() : super.created();
Future refresh() {
- return function.reload();
+ return objectStore.reload();
}
}
« no previous file with comments | « runtime/observatory/lib/src/elements/objectstore_ref.html ('k') | runtime/observatory/lib/src/elements/objectstore_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698