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

Unified Diff: runtime/bin/string_stream.dart

Issue 9117029: Fix a couple of minor issues in 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 | « runtime/bin/directory.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/string_stream.dart
diff --git a/runtime/bin/string_stream.dart b/runtime/bin/string_stream.dart
index d5ca79107d9ee8f340f4c1918b88443d9663827a..4352634817040268cb2f48d4b6cae1a316fd4ec9 100644
--- a/runtime/bin/string_stream.dart
+++ b/runtime/bin/string_stream.dart
@@ -275,6 +275,10 @@ class _StringInputStream implements StringInputStream {
_clientCloseHandler = callback;
}
+ void set errorHandler(void callback()) {
+ _input.errorHandler = callback;
+ }
+
void _dataHandler() {
_readData();
if (!_decoder.isEmpty() && _clientDataHandler !== null) {
« no previous file with comments | « runtime/bin/directory.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698