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

Unified Diff: runtime/bin/output_stream.dart

Issue 8502011: Rephrase some comments. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 1 month 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
« runtime/bin/directory.dart ('K') | « runtime/bin/input_stream.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/output_stream.dart
diff --git a/runtime/bin/output_stream.dart b/runtime/bin/output_stream.dart
index 8b834921aa6bd824d9c6572ca8d768a47959fc09..3e5b7ef0df4953d0f9c6032201e979627c2f026d 100644
--- a/runtime/bin/output_stream.dart
+++ b/runtime/bin/output_stream.dart
@@ -52,22 +52,23 @@ interface OutputStream {
void destroy();
/**
- * The no pending write handler gets called when the internal OS
- * buffers have been flushed. This callback can be used to keep the
- * rate of writing in sync with the rate the system can write data
- * to the underlying communication channel.
+ * Sets the handler that gets called when the internal OS buffers
+ * have been flushed. This callback can be used to keep the rate of
+ * writing in sync with the rate the system can write data to the
+ * underlying communication channel.
*/
void set noPendingWriteHandler(void callback());
/*
- * The close handler gets called when the underlying communication
- * channel has been closed.
+ * Sets the handler that gets called when the underlying
+ * communication channel has been closed and no more data can be
+ * send.
*/
void set closeHandler(void callback());
/**
- * The error handler gets called when the underlying communication
- * channel gets into some kind of error situation.
+ * Sets the handler that gets called when the underlying
+ * communication channel gets into some kind of error situation.
*/
void set errorHandler(void callback());
}
« runtime/bin/directory.dart ('K') | « runtime/bin/input_stream.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698