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

Unified Diff: sdk/lib/vmservice/client.dart

Issue 2754013002: Format all dart: library files (Closed)
Patch Set: Format all dart: library files Created 3 years, 9 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 | « sdk/lib/vmservice/asset.dart ('k') | sdk/lib/vmservice/devfs.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/vmservice/client.dart
diff --git a/sdk/lib/vmservice/client.dart b/sdk/lib/vmservice/client.dart
index aa00d09d201129fdc7bfb0f25384a1cca245dcb5..4eb7460a60a2645f4ba4c22edb4f59e97d280e77 100644
--- a/sdk/lib/vmservice/client.dart
+++ b/sdk/lib/vmservice/client.dart
@@ -10,8 +10,7 @@ abstract class Client {
final bool sendEvents;
final Set<String> streams = new Set<String>();
- Client(this.service, { bool sendEvents: true })
- : this.sendEvents = sendEvents {
+ Client(this.service, {bool sendEvents: true}) : this.sendEvents = sendEvents {
service._addClient(this);
}
@@ -32,8 +31,7 @@ abstract class Client {
post(response);
});
} catch (e, st) {
- message.setErrorResponse(
- kInternalError, 'Unexpected exception:$e\n$st');
+ message.setErrorResponse(kInternalError, 'Unexpected exception:$e\n$st');
post(message.response);
}
}
@@ -42,7 +40,6 @@ abstract class Client {
void post(dynamic result);
dynamic toJson() {
- return {
- };
+ return {};
}
}
« no previous file with comments | « sdk/lib/vmservice/asset.dart ('k') | sdk/lib/vmservice/devfs.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698