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

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

Issue 1090293003: Kill service_test.cc tests in favor of dart tests for the service protocol. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fix tests Created 5 years, 8 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/object_view.dart
diff --git a/runtime/observatory/lib/src/elements/object_view.dart b/runtime/observatory/lib/src/elements/object_view.dart
index f0fda0558101482aead3aa874a2e96cc9db319e6..c4a2696aee08a1be402ed6dd076d9333e2e6ea07 100644
--- a/runtime/observatory/lib/src/elements/object_view.dart
+++ b/runtime/observatory/lib/src/elements/object_view.dart
@@ -13,4 +13,8 @@ class ObjectViewElement extends ObservatoryElement {
@published ServiceObject object;
ObjectViewElement.created() : super.created();
+
+ void refresh(Function onDone) {
+ object.reload().whenComplete(onDone);
+ }
}
« no previous file with comments | « runtime/observatory/lib/src/elements/object_common.html ('k') | runtime/observatory/lib/src/service/object.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698