| OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file | 3 // BSD-style license that can be found in the LICENSE file |
| 4 | 4 |
| 5 part of models; | 5 part of models; |
| 6 | 6 |
| 7 enum SampleProfileTag { userVM, userOnly, vmUser, vmOnly, none } | 7 enum SampleProfileTag { userVM, userOnly, vmUser, vmOnly, none } |
| 8 | 8 |
| 9 enum SampleProfileLoadingStatus { disabled, fetching, loading, loaded } | 9 enum SampleProfileLoadingStatus { disabled, fetching, loading, loaded } |
| 10 | 10 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 IsolateRef isolate, ClassRef cls, SampleProfileTag tag); | 35 IsolateRef isolate, ClassRef cls, SampleProfileTag tag); |
| 36 Future enable(IsolateRef isolate, ClassRef cls); | 36 Future enable(IsolateRef isolate, ClassRef cls); |
| 37 Future disable(IsolateRef isolate, ClassRef cls); | 37 Future disable(IsolateRef isolate, ClassRef cls); |
| 38 } | 38 } |
| 39 | 39 |
| 40 abstract class IsolateSampleProfileRepository { | 40 abstract class IsolateSampleProfileRepository { |
| 41 Stream<SampleProfileLoadingProgressEvent> get( | 41 Stream<SampleProfileLoadingProgressEvent> get( |
| 42 IsolateRef isolate, SampleProfileTag tag, | 42 IsolateRef isolate, SampleProfileTag tag, |
| 43 {bool clear: false, bool forceFetch: false}); | 43 {bool clear: false, bool forceFetch: false}); |
| 44 } | 44 } |
| 45 |
| 46 abstract class NativeMemorySampleProfileRepository { |
| 47 Stream<SampleProfileLoadingProgressEvent> get( |
| 48 VM vm, SampleProfileTag tag, |
| 49 {bool clear: false, bool forceFetch: false}); |
| 50 } |
| OLD | NEW |