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

Unified Diff: runtime/bin/output_stream.dart

Issue 9500002: Rename blahHandler to onBlah throughout dart:io. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 8 years, 10 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/list_stream_impl.dart ('k') | runtime/bin/process.dart » ('j') | 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 02a00f8e367bcc712004b00e2da91926b38d7a9c..41743a84f4cb5d7f47d29ec1511ad16a55376397 100644
--- a/runtime/bin/output_stream.dart
+++ b/runtime/bin/output_stream.dart
@@ -1,4 +1,4 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
@@ -9,7 +9,7 @@
* An output stream provides internal buffering of the data written
* through all calls to [write] and [writeFrom] if data cannot be
* written immediately to the communication channel. The callback set
- * through [noPendingWriteHandler] can be used to to keep the rate of
+ * through [onNoPendingWrites] can be used to to keep the rate of
* writing in sync with the rate the system can actually write data to
* the underlying communication channel.
*/
@@ -59,19 +59,19 @@ interface OutputStream {
* writing in sync with the rate the system can write data to the
* underlying communication channel.
*/
- void set noPendingWriteHandler(void callback());
+ void set onNoPendingWrites(void callback());
/**
* 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());
+ void set onClosed(void callback());
/**
* Sets the handler that gets called when the underlying
* communication channel gets into some kind of error situation.
*/
- void set errorHandler(void callback());
+ void set onError(void callback());
}
« no previous file with comments | « runtime/bin/list_stream_impl.dart ('k') | runtime/bin/process.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698