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

Unified Diff: sdk/lib/async/stream.dart

Issue 18080019: Make StreamController be a StreamSink, not just an EventSink. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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/async/future_impl.dart ('k') | sdk/lib/async/stream_controller.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/async/stream.dart
diff --git a/sdk/lib/async/stream.dart b/sdk/lib/async/stream.dart
index 0eaa6e229924ba4cf3f86b4cab1f175682831ce0..9ce21c6f926f302da3be42e3ff5816b3f96ca2b7 100644
--- a/sdk/lib/async/stream.dart
+++ b/sdk/lib/async/stream.dart
@@ -943,19 +943,6 @@ class StreamView<T> extends Stream<T> {
}
}
-/**
- * [EventSink] wrapper that only exposes the [EventSink] interface.
- */
-class _EventSinkView<T> extends EventSink<T> {
- final EventSink<T> _sink;
-
- _EventSinkView(this._sink);
-
- void add(T value) { _sink.add(value); }
- void addError(error) { _sink.addError(error); }
- void close() { _sink.close(); }
-}
-
/**
* The target of a [Stream.pipe] call.
« no previous file with comments | « sdk/lib/async/future_impl.dart ('k') | sdk/lib/async/stream_controller.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698