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

Unified Diff: runtime/bin/chunked_stream.dart

Issue 9129020: Another round of minor fixes in the IO libraries. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 | « no previous file | runtime/bin/directory_impl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/chunked_stream.dart
diff --git a/runtime/bin/chunked_stream.dart b/runtime/bin/chunked_stream.dart
index 3b21a65e3056e28497392350048e77ba502990fa..8b1e8a1804ff5c4a179b03dd01d0e4b58c664075 100644
--- a/runtime/bin/chunked_stream.dart
+++ b/runtime/bin/chunked_stream.dart
@@ -48,6 +48,10 @@ class _ChunkedInputStream implements ChunkedInputStream {
_clientCloseHandler = callback;
}
+ void set errorHandler(void callback()) {
+ _input.errorHandler = callback;
+ }
+
void _dataHandler() {
_readData();
if (_bufferList.length >= _chunkSize && _clientDataHandler !== null) {
« no previous file with comments | « no previous file | runtime/bin/directory_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698