Chromium Code Reviews| Index: runtime/observatory/lib/src/elements/helpers/uris.dart |
| diff --git a/runtime/observatory/lib/src/elements/helpers/uris.dart b/runtime/observatory/lib/src/elements/helpers/uris.dart |
| index a099bbffa6c21fdaee96ede10eb9fd800533cc0d..4336fd809c165bd28e4b7960633912f5420aa405 100644 |
| --- a/runtime/observatory/lib/src/elements/helpers/uris.dart |
| +++ b/runtime/observatory/lib/src/elements/helpers/uris.dart |
| @@ -13,35 +13,37 @@ abstract class Uris { |
| return '#' + new Uri(path: path, queryParameters: parameters).toString(); |
| } |
| - static String inspect(M.IsolateRef isolate, {M.ObjectRef object, int pos}) { |
| - if (pos == null) { |
| - return _isolatePage('/inspect', isolate, object: object); |
| - } |
| - return _isolatePage('/inspect', isolate, object: object) + '---pos=${pos}'; |
| - } |
| - static String debugger(M.IsolateRef isolate) |
| - => _isolatePage('/debugger', isolate); |
| + static String allocationProfiler(M.IsolateRef isolate) |
| + => _isolatePage('/allocation-profiler', isolate); |
| static String classTree(M.IsolateRef isolate) |
| => _isolatePage('/class-tree', isolate); |
| static String cpuProfiler(M.IsolateRef isolate) |
| => _isolatePage('/profiler', isolate); |
| static String cpuProfilerTable(M.IsolateRef isolate) |
| => _isolatePage('/profiler-table', isolate); |
| - static String allocationProfiler(M.IsolateRef isolate) |
| - => _isolatePage('/allocation-profiler', isolate); |
| + static String debugger(M.IsolateRef isolate) |
| + => _isolatePage('/debugger', isolate); |
| + static String flags() => '#/flags'; |
| static String heapMap(M.IsolateRef isolate) |
| => _isolatePage('/heap-map', isolate); |
| - static String metrics(M.IsolateRef isolate) |
| - => _isolatePage('/metrics', isolate); |
| static String heapSnapshot(M.IsolateRef isolate) |
| => _isolatePage('/heap-snapshot', isolate); |
| + static String inspect(M.IsolateRef isolate, {M.ObjectRef object, int pos}) { |
| + if (pos == null) { |
| + return _isolatePage('/inspect', isolate, object: object); |
| + } |
| + return _isolatePage('/inspect', isolate, object: object) + '---pos=${pos}'; |
| + } |
| + static String logging(M.IsolateRef isolate) |
| + => _isolatePage('/logging', isolate); |
| + static String metrics(M.IsolateRef isolate) |
| + => _isolatePage('/metrics', isolate); |
| static String persistentHandles(M.IsolateRef isolate) |
| => _isolatePage('/persistent-handles', isolate); |
| static String ports(M.IsolateRef isolate) |
| => _isolatePage('/ports', isolate); |
| - static String logging(M.IsolateRef isolate) |
| - => _isolatePage('/logging', isolate); |
| + static String profiler(M.IsolateRef isolate) |
| + => _isolatePage('/ports', isolate); |
|
rmacnak
2016/08/09 20:51:06
profiler
cbernaschina
2016/08/09 21:16:55
Done.
|
| static String vm() => '#/vm'; |
| static String vmConnect() => '#/vm-connect'; |
| - static String flags() => '#/flags'; |
| } |