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

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

Issue 14028017: Remove .writeStream, .consume and rewrite IOSink to correctly implement a (sane) well-defined behav… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Review comments. Created 7 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/io/socket.dart ('k') | tests/standalone/io/http_server_response_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 5cad1f0c89139a4afa2d3b59d97e1ee575bbee70..e54d601a74c98ccefa7084e1432fc7ed8501df88 100644
--- a/sdk/lib/io/stdio.dart
+++ b/sdk/lib/io/stdio.dart
@@ -42,9 +42,7 @@ class _StdSink implements IOSink {
void add(List<int> data) => _sink.add(data);
void addError(AsyncError error) => _sink.addError(error);
void writeCharCode(int charCode) => _sink.writeCharCode(charCode);
- Future consume(Stream<List<int>> stream) => _sink.consume(stream);
Future addStream(Stream<List<int>> stream) => _sink.addStream(stream);
- Future writeStream(Stream<List<int>> stream) => _sink.writeStream(stream);
Future close() => _sink.close();
Future get done => _sink.done;
}
« no previous file with comments | « sdk/lib/io/socket.dart ('k') | tests/standalone/io/http_server_response_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698