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

Unified Diff: runtime/observatory/tests/observatory_ui/mocks/objects/allocation_profile.dart

Issue 3003903002: Hide internal classes from Memory Profile (Closed)
Patch Set: Address CL comments Created 3 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/tests/observatory_ui/mocks/objects/allocation_profile.dart
diff --git a/runtime/observatory/tests/observatory_ui/mocks/objects/allocation_profile.dart b/runtime/observatory/tests/observatory_ui/mocks/objects/allocation_profile.dart
index 7e90a5cc818f1a4f4e0a3f77b5d8a9666fc9439d..c61989eb2bc5767d8c73a78ec3bfc6483f888641 100644
--- a/runtime/observatory/tests/observatory_ui/mocks/objects/allocation_profile.dart
+++ b/runtime/observatory/tests/observatory_ui/mocks/objects/allocation_profile.dart
@@ -21,6 +21,7 @@ class AllocationProfileMock implements M.AllocationProfile {
class ClassHeapStatsMock implements M.ClassHeapStats {
final M.ClassRef clazz;
+ final String displayName;
final M.Allocations newSpace;
final M.Allocations oldSpace;
final int promotedInstances;
@@ -28,6 +29,7 @@ class ClassHeapStatsMock implements M.ClassHeapStats {
const ClassHeapStatsMock(
{this.clazz: const ClassRefMock(),
+ this.displayName: null,
this.newSpace: const AllocationsMock(),
this.oldSpace: const AllocationsMock(),
this.promotedInstances: 0,

Powered by Google App Engine
This is Rietveld 408576698