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

Unified Diff: runtime/bin/chunked_stream.dart

Issue 9812007: Add error handling to socket streams (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed review comments Created 8 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 | « no previous file | runtime/bin/file_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 f6462e91d93874847fca7c20dae03452b1ccdaf6..b90ada60290c89c9d5b1f2955718cde7556ff995 100644
--- a/runtime/bin/chunked_stream.dart
+++ b/runtime/bin/chunked_stream.dart
@@ -48,7 +48,7 @@ class _ChunkedInputStream implements ChunkedInputStream {
_clientCloseHandler = callback;
}
- void set onError(void callback()) {
+ void set onError(void callback(Exception e)) {
_input.onError = callback;
}
« no previous file with comments | « no previous file | runtime/bin/file_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698