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

Side by Side Diff: runtime/observatory/lib/src/models/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 unified diff | Download patch
OLDNEW
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 16 matching lines...) Expand all
27 abstract class SampleProfileLoadingProgress { 27 abstract class SampleProfileLoadingProgress {
28 SampleProfileLoadingStatus get status; 28 SampleProfileLoadingStatus get status;
29 double get progress; 29 double get progress;
30 Duration get fetchingTime; 30 Duration get fetchingTime;
31 Duration get loadingTime; 31 Duration get loadingTime;
32 SampleProfile get profile; 32 SampleProfile get profile;
33 } 33 }
34 34
35 abstract class ClassSampleProfileRepository { 35 abstract class ClassSampleProfileRepository {
36 Stream<SampleProfileLoadingProgressEvent> get( 36 Stream<SampleProfileLoadingProgressEvent> get(
37 IsolateRef isolate, ClassRef cls, SampleProfileTag tag); 37 IsolateRef isolate, ClassRef cls, SampleProfileTag tag,
38 {bool clear: false, bool forceFetch: false});
38 Future enable(IsolateRef isolate, ClassRef cls); 39 Future enable(IsolateRef isolate, ClassRef cls);
39 Future disable(IsolateRef isolate, ClassRef cls); 40 Future disable(IsolateRef isolate, ClassRef cls);
40 } 41 }
41 42
42 abstract class IsolateSampleProfileRepository { 43 abstract class IsolateSampleProfileRepository {
43 Stream<SampleProfileLoadingProgressEvent> get( 44 Stream<SampleProfileLoadingProgressEvent> get(
44 IsolateRef isolate, SampleProfileTag tag, 45 IsolateRef isolate, SampleProfileTag tag,
45 {bool clear: false, bool forceFetch: false}); 46 {bool clear: false, bool forceFetch: false});
46 } 47 }
47 48
48 abstract class NativeMemorySampleProfileRepository { 49 abstract class NativeMemorySampleProfileRepository {
49 Stream<SampleProfileLoadingProgressEvent> get(VM vm, SampleProfileTag tag, 50 Stream<SampleProfileLoadingProgressEvent> get(VM vm, SampleProfileTag tag,
50 {bool clear: false, bool forceFetch: false}); 51 {bool clear: false, bool forceFetch: false});
51 } 52 }
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/models/objects/vm.dart ('k') | runtime/observatory/lib/src/repositories/sample_profile.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698