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

Side by Side Diff: runtime/bin/vmservice/client/lib/src/observatory/location_manager.dart

Issue 27530002: Reorganize VM Service client (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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 | Annotate | Revision Log
OLDNEW
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698