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

Unified Diff: sdk/lib/io/http_parser.dart

Issue 2822303002: Format all files under the sdk/lib directory. (Closed)
Patch Set: reduced_cl Created 3 years, 8 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/indexed_db/dart2js/indexed_db_dart2js.dart ('k') | sdk/lib/svg/dart2js/svg_dart2js.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/http_parser.dart
diff --git a/sdk/lib/io/http_parser.dart b/sdk/lib/io/http_parser.dart
index 99f9f63345cf74b0edd9fd7c614bbae02c029d8c..a21e9c14cc0bd5c205979253539691ceea587e44 100644
--- a/sdk/lib/io/http_parser.dart
+++ b/sdk/lib/io/http_parser.dart
@@ -121,8 +121,8 @@ class _HttpDetachedStreamSubscription implements StreamSubscription<List<int>> {
bool get isPaused => _subscription.isPaused;
- Future<T>
- asFuture<T>([T futureValue]) => _subscription.asFuture<T>(futureValue);
+ Future<T> asFuture<T>([T futureValue]) =>
+ _subscription.asFuture<T>(futureValue);
Future cancel() {
_isCanceled = true;
@@ -199,7 +199,8 @@ class _HttpDetachedIncoming extends Stream<List<int>> {
return subscription..resume();
}
return new _HttpDetachedStreamSubscription(
- subscription, bufferedData, onData)..resume();
+ subscription, bufferedData, onData)
+ ..resume();
} else {
// TODO(26379): add test for this branch.
return new Stream<List<int>>.fromIterable([bufferedData]).listen(onData,
« no previous file with comments | « sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart ('k') | sdk/lib/svg/dart2js/svg_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698