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

Unified Diff: runtime/bin/process_patch.dart

Issue 11823050: Remove accidental addition of new stream API in dart:io. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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 | « no previous file | sdk/lib/io/process.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/process_patch.dart
diff --git a/runtime/bin/process_patch.dart b/runtime/bin/process_patch.dart
index fc5f72b3d0c4bb3a8628abba6f05bb62fb9f8786..edc29e294c144f62518e7a32dd1fdb5dc0226fe6 100644
--- a/runtime/bin/process_patch.dart
+++ b/runtime/bin/process_patch.dart
@@ -256,24 +256,6 @@ class _ProcessImpl extends NativeFieldWrapperClass1 implements Process {
return _kill(this, signal._signalNumber);
}
- void add(List<int> data) {
- stdin.write(data);
- }
-
- void close() {
- stdin.close();
- }
-
- void signalError(ASyncError error) {
- // TODO(ajohnsen): close?
- }
-
- Stream<List<int>> get stdoutStream
- => new _InputStreamController(stdout).stream;
-
- Stream<List<int>> get stderrStream
- => new _InputStreamController(stderr).stream;
-
bool _kill(Process p, int signal) native "Process_Kill";
void set onExit(void callback(int exitCode)) {
« no previous file with comments | « no previous file | sdk/lib/io/process.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698