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 303317121a29d25c6165f7413a89ba5b99c61701..defa2b021ee85b1155e68762002e5488a363f167 100644 |
--- a/runtime/observatory/lib/src/elements/helpers/uris.dart |
+++ b/runtime/observatory/lib/src/elements/helpers/uris.dart |
@@ -8,42 +8,42 @@ import 'package:observatory/models.dart' as M; |
abstract class Uris { |
static String _isolatePage(String path, M.IsolateRef isolate, |
{M.ObjectRef object}) { |
- final parameters = { 'isolateId': isolate.id }; |
+ final parameters = {'isolateId': isolate.id}; |
if (object != null) parameters['objectId'] = object.id; |
return '#' + new Uri(path: path, queryParameters: parameters).toString(); |
} |
- 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 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 debugger(M.IsolateRef isolate) => |
+ _isolatePage('/debugger', isolate); |
static String flags() => '#/flags'; |
- static String heapMap(M.IsolateRef isolate) |
- => _isolatePage('/heap-map', isolate); |
- static String heapSnapshot(M.IsolateRef isolate) |
- => _isolatePage('/heap-snapshot', isolate); |
+ static String heapMap(M.IsolateRef isolate) => |
+ _isolatePage('/heap-map', 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 objectStore(M.IsolateRef isolate) |
- => _isolatePage('/object-store', 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 metrics(M.IsolateRef isolate) => |
+ _isolatePage('/metrics', isolate); |
+ static String objectStore(M.IsolateRef isolate) => |
+ _isolatePage('/object-store', isolate); |
+ static String persistentHandles(M.IsolateRef isolate) => |
+ _isolatePage('/persistent-handles', isolate); |
+ static String ports(M.IsolateRef isolate) => _isolatePage('/ports', isolate); |
static String timeline() => '#/timeline'; |
static String vm() => '#/vm'; |
static String vmConnect() => '#/vm-connect'; |