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

Unified Diff: runtime/observatory/lib/service_html.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
« no previous file with comments | « runtime/observatory/lib/service_common.dart ('k') | runtime/observatory/lib/service_io.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/lib/service_html.dart
diff --git a/runtime/observatory/lib/service_html.dart b/runtime/observatory/lib/service_html.dart
index fe5b1c3af41d1a133bf222b96a8b96563540d579..f4b166efe685c5779777fcfabb035e4fd05eb3e6 100644
--- a/runtime/observatory/lib/service_html.dart
+++ b/runtime/observatory/lib/service_html.dart
@@ -16,11 +16,8 @@ export 'package:observatory/service_common.dart';
class _HtmlWebSocket implements CommonWebSocket {
WebSocket _webSocket;
- void connect(String address,
- void onOpen(),
- void onMessage(dynamic data),
- void onError(),
- void onClose()) {
+ void connect(String address, void onOpen(), void onMessage(dynamic data),
+ void onError(), void onClose()) {
_webSocket = new WebSocket(address);
_webSocket.onClose.listen((CloseEvent) => onClose());
_webSocket.onError.listen((Event) => onError());
@@ -44,9 +41,8 @@ class _HtmlWebSocket implements CommonWebSocket {
fileReader.readAsArrayBuffer(data);
return fileReader.onLoadEnd.first.then((e) {
var result = fileReader.result;
- return new ByteData.view(result.buffer,
- result.offsetInBytes,
- result.length);
+ return new ByteData.view(
+ result.buffer, result.offsetInBytes, result.length);
});
}
}
« no previous file with comments | « runtime/observatory/lib/service_common.dart ('k') | runtime/observatory/lib/service_io.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698