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

Unified Diff: sdk/lib/io/websocket.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/io/string_transformer.dart ('k') | sdk/lib/io/websocket_impl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/websocket.dart
diff --git a/sdk/lib/io/websocket.dart b/sdk/lib/io/websocket.dart
index 42c3562e205883c5eeedc8fa27a18ab5a9c53c9f..144f8aaba97257fbe3685284965cb6431d878c80 100644
--- a/sdk/lib/io/websocket.dart
+++ b/sdk/lib/io/websocket.dart
@@ -95,7 +95,7 @@ class CompressionOptions {
} else {
mwb = serverMaxWindowBits == null
? int.parse(part,
- onError: (source) => _WebSocketImpl.DEFAULT_WINDOW_BITS)
+ onError: (source) => _WebSocketImpl.DEFAULT_WINDOW_BITS)
: serverMaxWindowBits;
info.headerValue = "; server_max_window_bits=${mwb}";
info.maxWindowBits = mwb;
@@ -146,14 +146,16 @@ class CompressionOptions {
info.headerValue = _WebSocketImpl.PER_MESSAGE_DEFLATE;
if (clientNoContextTakeover &&
- (requested == null || (requested != null &&
- requested.parameters.containsKey(_clientNoContextTakeover)))) {
+ (requested == null ||
+ (requested != null &&
+ requested.parameters.containsKey(_clientNoContextTakeover)))) {
info.headerValue += "; client_no_context_takeover";
}
if (serverNoContextTakeover &&
- (requested == null || (requested != null &&
- requested.parameters.containsKey(_serverNoContextTakeover)))) {
+ (requested == null ||
+ (requested != null &&
+ requested.parameters.containsKey(_serverNoContextTakeover)))) {
info.headerValue += "; server_no_context_takeover";
}
@@ -256,8 +258,9 @@ abstract class WebSocketTransformer
* `String` and a binary message will be of type `List<int>`.
*/
abstract class WebSocket
- implements Stream<dynamic/*String|List<int>*/>,
- StreamSink<dynamic/*String|List<int>*/> {
+ implements
+ Stream<dynamic /*String|List<int>*/ >,
+ StreamSink<dynamic /*String|List<int>*/ > {
/**
* Possible states of the connection.
*/
« no previous file with comments | « sdk/lib/io/string_transformer.dart ('k') | sdk/lib/io/websocket_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698