OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 app; | 5 part of app; |
6 | 6 |
7 final _allocationProfileRepository = new AllocationProfileRepository(); | 7 final _allocationProfileRepository = new AllocationProfileRepository(); |
8 final _breakpointRepository = new BreakpointRepository(); | 8 final _breakpointRepository = new BreakpointRepository(); |
9 final _classRepository = new ClassRepository(); | 9 final _classRepository = new ClassRepository(); |
10 final _classSampleProfileRepository = new ClassSampleProfileRepository(); | 10 final _classSampleProfileRepository = new ClassSampleProfileRepository(); |
(...skipping 11 matching lines...) Expand all Loading... |
22 final _megamorphicCacheRepository = new MegamorphicCacheRepository(); | 22 final _megamorphicCacheRepository = new MegamorphicCacheRepository(); |
23 final _metricRepository = new MetricRepository(); | 23 final _metricRepository = new MetricRepository(); |
24 final _objectPoolRepository = new ObjectPoolRepository(); | 24 final _objectPoolRepository = new ObjectPoolRepository(); |
25 final _objectRepository = new ObjectRepository(); | 25 final _objectRepository = new ObjectRepository(); |
26 final _objectstoreRepository = new ObjectStoreRepository(); | 26 final _objectstoreRepository = new ObjectStoreRepository(); |
27 final _persistentHandlesRepository = new PersistentHandlesRepository(); | 27 final _persistentHandlesRepository = new PersistentHandlesRepository(); |
28 final _portsRepository = new PortsRepository(); | 28 final _portsRepository = new PortsRepository(); |
29 final _scriptRepository = new ScriptRepository(); | 29 final _scriptRepository = new ScriptRepository(); |
30 final _singleTargetCacheRepository = new SingleTargetCacheRepository(); | 30 final _singleTargetCacheRepository = new SingleTargetCacheRepository(); |
31 final _stronglyReachangleInstancesRepository = | 31 final _stronglyReachangleInstancesRepository = |
32 new StronglyReachableInstancesRepository(); | 32 new StronglyReachableInstancesRepository(); |
33 final _subtypeTestCacheRepository = new SubtypeTestCacheRepository(); | 33 final _subtypeTestCacheRepository = new SubtypeTestCacheRepository(); |
34 final _topRetainingInstancesRepository = new TopRetainingInstancesRepository(); | 34 final _topRetainingInstancesRepository = new TopRetainingInstancesRepository(); |
35 final _typeArgumentsRepository = new TypeArgumentsRepository(); | 35 final _typeArgumentsRepository = new TypeArgumentsRepository(); |
36 final _unlinkedCallRepository = new UnlinkedCallRepository(); | 36 final _unlinkedCallRepository = new UnlinkedCallRepository(); |
37 | 37 |
38 class IsolateNotFound implements Exception { | 38 class IsolateNotFound implements Exception { |
39 String isolateId; | 39 String isolateId; |
40 IsolateNotFound(this.isolateId); | 40 IsolateNotFound(this.isolateId); |
41 String toString() => "IsolateNotFound: $isolateId"; | 41 String toString() => "IsolateNotFound: $isolateId"; |
42 } | 42 } |
(...skipping 858 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
901 element = new TimelinePageElement(app.vm, app.events, app.notifications, | 901 element = new TimelinePageElement(app.vm, app.events, app.notifications, |
902 queue: app.queue); | 902 queue: app.queue); |
903 } | 903 } |
904 | 904 |
905 void _visit(Uri uri) { | 905 void _visit(Uri uri) { |
906 assert(canVisit(uri)); | 906 assert(canVisit(uri)); |
907 } | 907 } |
908 | 908 |
909 bool canVisit(Uri uri) => uri.path == 'timeline'; | 909 bool canVisit(Uri uri) => uri.path == 'timeline'; |
910 } | 910 } |
OLD | NEW |