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

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

Issue 52263005: Add IOSink:flush(). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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/io_sink.dart ('k') | tests/standalone/io/io_sink_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/stdio.dart
diff --git a/sdk/lib/io/stdio.dart b/sdk/lib/io/stdio.dart
index 76abe057fe060eb987d6884b03a710f900d2fd81..0865aaee7fd9e59df08a1f6a657e5bbc5ca753e4 100644
--- a/sdk/lib/io/stdio.dart
+++ b/sdk/lib/io/stdio.dart
@@ -166,6 +166,7 @@ class _StdSink implements IOSink {
_sink.addError(error, stackTrace);
void writeCharCode(int charCode) => _sink.writeCharCode(charCode);
Future addStream(Stream<List<int>> stream) => _sink.addStream(stream);
+ Future flush() => _sink.flush();
Future close() => _sink.close();
Future get done => _sink.done;
}
« no previous file with comments | « sdk/lib/io/io_sink.dart ('k') | tests/standalone/io/io_sink_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698