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

Unified Diff: sdk/lib/io/secure_server_socket.dart

Issue 14251006: Remove AsyncError with Expando. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 7 years, 8 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/io/io_sink.dart ('k') | sdk/lib/io/secure_socket.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/secure_server_socket.dart
diff --git a/sdk/lib/io/secure_server_socket.dart b/sdk/lib/io/secure_server_socket.dart
index bb185aeaae4386d7f6b2d818d994ca1bb37f854c..851b58d3a7a3c6d89a6f31d1e9a95c4101a80aec 100644
--- a/sdk/lib/io/secure_server_socket.dart
+++ b/sdk/lib/io/secure_server_socket.dart
@@ -64,7 +64,7 @@ class SecureServerSocket extends Stream<SecureSocket> implements ServerSocket {
}
StreamSubscription<SecureSocket> listen(void onData(SecureSocket socket),
- {void onError(AsyncError error),
+ {void onError(error),
void onDone(),
bool cancelOnError}) {
return _socket.map((rawSocket) => new SecureSocket._(rawSocket))
@@ -159,7 +159,7 @@ class RawSecureServerSocket extends Stream<RawSecureSocket> {
}
StreamSubscription<RawSecureSocket> listen(void onData(RawSecureSocket s),
- {void onError(AsyncError error),
+ {void onError(error),
void onDone(),
bool cancelOnError}) {
return _controller.stream.listen(onData,
« no previous file with comments | « sdk/lib/io/io_sink.dart ('k') | sdk/lib/io/secure_socket.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698