| 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 LocationManager class observes and parses the hash ('#') portion of the | 7 /// The LocationManager class observes and parses the hash ('#') portion of the |
| 8 /// URL in window.location. The text after the '#' is used as the request | 8 /// URL in window.location. The text after the '#' is used as the request |
| 9 /// string for the VM service. | 9 /// string for the VM service. |
| 10 class LocationManager extends Object with ChangeNotifierMixin { | 10 class LocationManager extends Object with ChangeNotifierMixin { |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 /// Create a request for [objectId] on [isolateId]. | 114 /// Create a request for [objectId] on [isolateId]. |
| 115 String objectLink(int isolateId, int objectId) { | 115 String objectLink(int isolateId, int objectId) { |
| 116 return '#/isolates/$isolateId/objects/$objectId'; | 116 return '#/isolates/$isolateId/objects/$objectId'; |
| 117 } | 117 } |
| 118 | 118 |
| 119 /// Create a request for [cid] on [isolateId]. | 119 /// Create a request for [cid] on [isolateId]. |
| 120 String classLink(int isolateId, int cid) { | 120 String classLink(int isolateId, int cid) { |
| 121 return '#/isolates/$isolateId/classes/$cid'; | 121 return '#/isolates/$isolateId/classes/$cid'; |
| 122 } | 122 } |
| 123 } | 123 } |
| OLD | NEW |