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

Unified Diff: runtime/observatory/tests/observatory_ui/mocks/repositories/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/repositories/allocation_profile.dart
diff --git a/runtime/observatory/tests/observatory_ui/mocks/repositories/allocation_profile.dart b/runtime/observatory/tests/observatory_ui/mocks/repositories/allocation_profile.dart
index e36aa515a5a5695859d4f9483d7b22e397d7e1f5..8e9f278485a76f08bc40fc32fe502b8096564f1b 100644
--- a/runtime/observatory/tests/observatory_ui/mocks/repositories/allocation_profile.dart
+++ b/runtime/observatory/tests/observatory_ui/mocks/repositories/allocation_profile.dart
@@ -7,7 +7,7 @@ part of mocks;
typedef Future<
M
.AllocationProfile> AllocationProfileRepositoryMockGetterCallback(
- M.Isolate id, bool gc, bool force);
+ M.Isolate id, bool gc, bool force, bool combine);
class AllocationProfileRepositoryMock implements M.AllocationProfileRepository {
final AllocationProfileRepositoryMockGetterCallback _get;
@@ -17,9 +17,9 @@ class AllocationProfileRepositoryMock implements M.AllocationProfileRepository {
: _get = getter;
Future<M.AllocationProfile> get(M.IsolateRef id,
- {bool gc: false, bool reset: false}) {
+ {bool gc: false, bool reset: false, bool combine: false}) {
if (_get != null) {
- return _get(id, gc, reset);
+ return _get(id, gc, reset, combine);
}
return new Future.value(null);
}

Powered by Google App Engine
This is Rietveld 408576698