Index: runtime/observatory/lib/src/models/repositories/sample_profile.dart |
diff --git a/runtime/observatory/lib/src/models/repositories/sample_profile.dart b/runtime/observatory/lib/src/models/repositories/sample_profile.dart |
index 3ec7cfd6f79644d52e554578f8f1a76e67de9ee7..075203f1bbac4d4f6037f35e7488988cdce9060c 100644 |
--- a/runtime/observatory/lib/src/models/repositories/sample_profile.dart |
+++ b/runtime/observatory/lib/src/models/repositories/sample_profile.dart |
@@ -42,11 +42,13 @@ abstract class SampleProfileLoadingProgress { |
} |
abstract class ClassSampleProfileRepository { |
- Stream<SampleProfileLoadingProgressEvent> get(ClassRef cls, |
- SampleProfileTag tag, {bool clear: false}); |
+ Stream<SampleProfileLoadingProgressEvent> get(IsolateRef isolate, |
+ ClassRef cls, SampleProfileTag tag); |
+ Future enable(IsolateRef isolate, ClassRef cls); |
+ Future disable(IsolateRef isolate, ClassRef cls); |
} |
abstract class IsolateSampleProfileRepository { |
- Stream<SampleProfileLoadingProgressEvent> get(IsolateRef cls, |
+ Stream<SampleProfileLoadingProgressEvent> get(IsolateRef isolate, |
SampleProfileTag tag, {bool clear: false, bool forceFetch: false}); |
} |