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

Unified Diff: runtime/observatory/tests/observatory_ui/mocks/repositories/sample_profile.dart

Issue 2999763002: Clear analyzer warning on Observatory (Closed)
Patch Set: 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/sample_profile.dart
diff --git a/runtime/observatory/tests/observatory_ui/mocks/repositories/sample_profile.dart b/runtime/observatory/tests/observatory_ui/mocks/repositories/sample_profile.dart
index dd73082c7eba85d59a9aadae1ead4144d402c06e..13c521fb5fdee4cf8200054d1eefff04b4220a2b 100644
--- a/runtime/observatory/tests/observatory_ui/mocks/repositories/sample_profile.dart
+++ b/runtime/observatory/tests/observatory_ui/mocks/repositories/sample_profile.dart
@@ -29,7 +29,11 @@ class SampleProfileLoadingProgressMock
typedef Stream<
M
.SampleProfileLoadingProgressEvent> ClassSampleProfileRepositoryMockCallback(
- M.Isolate isolate, M.ClassRef cls, M.SampleProfileTag tag, bool clear);
+ M.Isolate isolate,
+ M.ClassRef cls,
+ M.SampleProfileTag tag,
+ bool clear,
+ bool forceFetch);
typedef Future ClassSampleProfileRepositoryMockToggleCallback(
M.Isolate isolate, M.ClassRef cls);
@@ -41,9 +45,9 @@ class ClassSampleProfileRepositoryMock
Stream<M.SampleProfileLoadingProgressEvent> get(
M.Isolate isolate, M.ClassRef cls, M.SampleProfileTag tag,
- {bool clear: false}) {
+ {bool clear: false, bool forceFetch: false}) {
if (_get != null) {
- return _get(isolate, cls, tag, clear);
+ return _get(isolate, cls, tag, clear, forceFetch);
}
return null;
}
« no previous file with comments | « runtime/observatory/observatory_sources.gypi ('k') | runtime/observatory/tests/service/get_allocation_samples_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698