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

Unified Diff: runtime/observatory/lib/src/models/repositories/allocation_profile.dart

Issue 2255613002: Converted Observatory heap-profile element (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Better sorting tests Created 4 years, 4 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/models/repositories/allocation_profile.dart
diff --git a/runtime/observatory/lib/src/models/repositories/class.dart b/runtime/observatory/lib/src/models/repositories/allocation_profile.dart
similarity index 55%
copy from runtime/observatory/lib/src/models/repositories/class.dart
copy to runtime/observatory/lib/src/models/repositories/allocation_profile.dart
index 388256e334f1f4670d16f9c481f8d368304de32f..5b917efc602656101366bbb403f5b9d92520e26a 100644
--- a/runtime/observatory/lib/src/models/repositories/class.dart
+++ b/runtime/observatory/lib/src/models/repositories/allocation_profile.dart
@@ -4,7 +4,7 @@
part of models;
-abstract class ClassRepository{
- Future<Class> getObject();
- Future<Class> get(String id);
+abstract class AllocationProfileRepository {
+ Future<AllocationProfile> get(IsolateRef isolate, {bool gc: false,
+ bool reset: false});
}

Powered by Google App Engine
This is Rietveld 408576698