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

Unified Diff: lib/compiler/implementation/lib/io.dart

Issue 10068039: Update dart2js mock of process implementation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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 | tests/standalone/standalone-leg.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/lib/io.dart
diff --git a/lib/compiler/implementation/lib/io.dart b/lib/compiler/implementation/lib/io.dart
index 838c5f481fe3dea96607cf489726286ff417d334..e974badfcb293aacda3c4943f51fd3bb15f5a847 100644
--- a/lib/compiler/implementation/lib/io.dart
+++ b/lib/compiler/implementation/lib/io.dart
@@ -77,8 +77,16 @@ class _Directory {
class _Process {
factory Process.start(String executable,
List<String> arguments,
- [String workingDirectory]) {
- var msg = 'new Process.start($executable, $arguments, $workingDirectory';
+ [ProcessOptions options]) {
+ var msg = 'new Process.start($executable, $arguments, $options)';
+ throw new UnsupportedOperationException(msg);
+ }
+
+ factory Process.run(String executable,
+ List<String> arguments,
+ ProcessOptions options,
+ void callback(int exit, String out, String err)) {
+ var msg = 'new Process.run($executable, $arguments, $options, $callback)';
throw new UnsupportedOperationException(msg);
}
}
« no previous file with comments | « no previous file | tests/standalone/standalone-leg.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698