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

Unified Diff: sdk/lib/convert/converter.dart

Issue 203603008: Introduce class Sink<T>. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 6 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/convert/chunked_conversion.dart ('k') | sdk/lib/convert/html_escape.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/convert/converter.dart
diff --git a/sdk/lib/convert/converter.dart b/sdk/lib/convert/converter.dart
index b4c12f00225c028df203eccd190751cc0dca4011..562f861bee83fdf78cd6e508a63b017e4bcc2554 100644
--- a/sdk/lib/convert/converter.dart
+++ b/sdk/lib/convert/converter.dart
@@ -31,7 +31,7 @@ abstract class Converter<S, T> implements StreamTransformer {
/**
* Starts a chunked conversion.
*/
- ChunkedConversionSink startChunkedConversion(ChunkedConversionSink sink) {
+ ChunkedConversionSink startChunkedConversion(Sink sink) {
throw new UnsupportedError(
"This converter does not support chunked conversions: $this");
}
@@ -57,7 +57,7 @@ class _FusedConverter<S, M, T> extends Converter<S, T> {
T convert(S input) => _second.convert(_first.convert(input));
- ChunkedConversionSink startChunkedConversion(ChunkedConversionSink sink) {
+ ChunkedConversionSink startChunkedConversion(Sink sink) {
return _first.startChunkedConversion(_second.startChunkedConversion(sink));
}
}
« no previous file with comments | « sdk/lib/convert/chunked_conversion.dart ('k') | sdk/lib/convert/html_escape.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698