| 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;
|
| }
|
|
|