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

Unified Diff: pkg/http/lib/src/multipart_request.dart

Issue 11865005: Remove Futures class, move methods to Future. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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 | « pkg/http/lib/src/io_client.dart ('k') | pkg/intl/example/basic/basic_example.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/http/lib/src/multipart_request.dart
diff --git a/pkg/http/lib/src/multipart_request.dart b/pkg/http/lib/src/multipart_request.dart
index 357aa7e17e4569a58605a37ff8aa38098d2e1c1d..0272a0b44ffb483dc2afaf256eb201bb57fe3540 100644
--- a/pkg/http/lib/src/multipart_request.dart
+++ b/pkg/http/lib/src/multipart_request.dart
@@ -111,7 +111,7 @@ class MultipartRequest extends BaseRequest {
writeLine();
});
- Futures.forEach(_files.collection, (file) {
+ Future.forEach(_files.collection, (file) {
writeAscii('--$boundary\r\n');
writeAscii(_headerForFile(file));
return writeStreamToSink(file.finalize(), controller)
« no previous file with comments | « pkg/http/lib/src/io_client.dart ('k') | pkg/intl/example/basic/basic_example.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698