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

Side by Side Diff: runtime/observatory/lib/src/models/repositories/sample_profile.dart

Issue 2294073003: Converted Observatory class-view element (Closed)
Patch Set: Addressed comments Created 4 years, 3 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 { 7 enum SampleProfileTag {
8 userVM, 8 userVM,
9 userOnly, 9 userOnly,
10 vmUser, 10 vmUser,
(...skipping 24 matching lines...) Expand all
35 35
36 abstract class SampleProfileLoadingProgress { 36 abstract class SampleProfileLoadingProgress {
37 SampleProfileLoadingStatus get status; 37 SampleProfileLoadingStatus get status;
38 double get progress; 38 double get progress;
39 Duration get fetchingTime; 39 Duration get fetchingTime;
40 Duration get loadingTime; 40 Duration get loadingTime;
41 SampleProfile get profile; 41 SampleProfile get profile;
42 } 42 }
43 43
44 abstract class ClassSampleProfileRepository { 44 abstract class ClassSampleProfileRepository {
45 Stream<SampleProfileLoadingProgressEvent> get(ClassRef cls, 45 Stream<SampleProfileLoadingProgressEvent> get(IsolateRef isolate,
46 SampleProfileTag tag, {bool clear: false}); 46 ClassRef cls, SampleProfileTag tag);
47 Future enable(IsolateRef isolate, ClassRef cls);
48 Future disable(IsolateRef isolate, ClassRef cls);
47 } 49 }
48 50
49 abstract class IsolateSampleProfileRepository { 51 abstract class IsolateSampleProfileRepository {
50 Stream<SampleProfileLoadingProgressEvent> get(IsolateRef cls, 52 Stream<SampleProfileLoadingProgressEvent> get(IsolateRef isolate,
51 SampleProfileTag tag, {bool clear: false, bool forceFetch: false}); 53 SampleProfileTag tag, {bool clear: false, bool forceFetch: false});
52 } 54 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698