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

Unified Diff: samples/total/server/DartCompiler.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 | « samples/tests/samples/src/chat/ChatServerTest.dart ('k') | samples/total/server/TotalRunner.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/total/server/DartCompiler.dart
diff --git a/samples/total/server/DartCompiler.dart b/samples/total/server/DartCompiler.dart
index b5f8ccb62f79861823a5b64a8e3351097efc59c1..506409f70b531251dff88ea6cc80c2d8474a01f8 100644
--- a/samples/total/server/DartCompiler.dart
+++ b/samples/total/server/DartCompiler.dart
@@ -59,13 +59,13 @@ class DartCompiler {
Process compiler = new Process.start(_frogExecPath, args);
StringBuffer messages = new StringBuffer();
- compiler.exitHandler = (int status) {
+ compiler.onExit = (int status) {
compiler.close();
callback(status, messages.toString());
};
- compiler.stdout.dataHandler = () => _readAll(compiler.stdout, messages);
- compiler.stderr.dataHandler = () => _readAll(compiler.stderr, messages);
+ compiler.stdout.onData = () => _readAll(compiler.stdout, messages);
+ compiler.stderr.onData = () => _readAll(compiler.stderr, messages);
}
}
« no previous file with comments | « samples/tests/samples/src/chat/ChatServerTest.dart ('k') | samples/total/server/TotalRunner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698