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

Unified Diff: runtime/observatory/lib/src/elements/helpers/uris.dart

Issue 2345023003: Use dartfmt on Observatory code (Closed)
Patch Set: merge Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
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';
« no previous file with comments | « runtime/observatory/lib/src/elements/helpers/tag.dart ('k') | runtime/observatory/lib/src/elements/icdata_ref.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698