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

Unified Diff: runtime/bin/vmservice/client/lib/src/elements/class_view.dart

Issue 266323002: Class view: Retained size of all instances. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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
« no previous file with comments | « no previous file | runtime/bin/vmservice/client/lib/src/elements/class_view.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/vmservice/client/lib/src/elements/class_view.dart
===================================================================
--- runtime/bin/vmservice/client/lib/src/elements/class_view.dart (revision 35762)
+++ runtime/bin/vmservice/client/lib/src/elements/class_view.dart (working copy)
@@ -18,6 +18,11 @@
return cls.isolate.get(
cls.id + "/eval?expr=${Uri.encodeComponent(text)}");
}
+
+ // TODO(koda): Add no-arg "calculate-link" instead of reusing "eval-link".
Cutch 2014/05/05 21:07:59 maybe <eval-size>
+ Future<ServiceObject> retainedSize(String dummy) {
+ return cls.isolate.get(cls.id + "/retained");
+ }
void refresh(var done) {
cls.reload().whenComplete(done);
« no previous file with comments | « no previous file | runtime/bin/vmservice/client/lib/src/elements/class_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698