Chromium Code Reviews| 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(); |
|
turnidge
2016/06/01 18:06:22
As discussed offline, this will need a bit of work
rmacnak
2016/06/01 19:58:46
Done.
|
| } |
| } |