| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 observatory; | 5 part of observatory; |
| 6 | 6 |
| 7 /// The observatory application. Instances of this are created and owned | 7 /// The observatory application. Instances of this are created and owned |
| 8 /// by the observatory_application custom element. | 8 /// by the observatory_application custom element. |
| 9 class ObservatoryApplication { | 9 class ObservatoryApplication { |
| 10 final LocationManager locationManager = new LocationManager(); | 10 final LocationManager locationManager = new LocationManager(); |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 | 26 |
| 27 /// Return the name of the isolate with [id]. | 27 /// Return the name of the isolate with [id]. |
| 28 String getIsolateName(int id) { | 28 String getIsolateName(int id) { |
| 29 var isolate = getIsolate(id); | 29 var isolate = getIsolate(id); |
| 30 if (isolate == null) { | 30 if (isolate == null) { |
| 31 return 'Null Isolate'; | 31 return 'Null Isolate'; |
| 32 } | 32 } |
| 33 return isolate.name; | 33 return isolate.name; |
| 34 } | 34 } |
| 35 } | 35 } |
| OLD | NEW |