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

Unified Diff: runtime/bin/input_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
Index: runtime/bin/input_stream.dart
diff --git a/runtime/bin/input_stream.dart b/runtime/bin/input_stream.dart
index aa64e4fce4b9ed418b1959382818bf54371429b3..e9f496b66b2c0b847f153ce8d5eb40ea29d257cc 100644
--- a/runtime/bin/input_stream.dart
+++ b/runtime/bin/input_stream.dart
@@ -37,19 +37,19 @@ interface InputStream {
bool get closed();
/**
- * Sets the data handler which gets called when data is available.
+ * Sets the handler that gets called when data is available.
*/
void set dataHandler(void callback());
/**
- * Sets the close handler which gets called when there will be no more
- * data available in the stream.
+ * Sets the handler that gets called when there will be no more data
+ * available in the stream.
*/
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());
}
@@ -87,20 +87,19 @@ interface StringInputStream factory _StringInputStream {
String get encoding();
/**
- * The data handler gets called when data is available.
+ * Sets the handler that gets called when data is available.
*/
void set dataHandler(void callback());
/**
- * The close handler gets called when the underlying communication
- * channel is closed and no more data will become available. Not all
- * types of communication channels will emit close events.
+ * Sets the handler that gets called when there will be no more data
+ * available in the stream.
*/
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());
}

Powered by Google App Engine
This is Rietveld 408576698