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

Side by Side Diff: runtime/bin/process_patch.dart

Issue 13565005: Revert r20952, r20953, r20954 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/bin/process.cc ('k') | runtime/bin/utils.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 patch class _WindowsCodePageDecoder { 5 patch class _WindowsCodePageDecoder {
6 /* patch */ static String _decodeBytes(List<int> bytes) 6 /* patch */ static String _decodeBytes(List<int> bytes)
7 native "SystemEncodingToString"; 7 native "SystemEncodingToString";
8 } 8 }
9 9
10 10
11 patch class _WindowsCodePageEncoder { 11 patch class _WindowsCodePageEncoder {
(...skipping 14 matching lines...) Expand all
26 List<String> arguments, 26 List<String> arguments,
27 [ProcessOptions options]) { 27 [ProcessOptions options]) {
28 return _runNonInteractiveProcess(executable, arguments, options); 28 return _runNonInteractiveProcess(executable, arguments, options);
29 } 29 }
30 } 30 }
31 31
32 32
33 patch class _ProcessUtils { 33 patch class _ProcessUtils {
34 /* patch */ static _exit(int status) native "Process_Exit"; 34 /* patch */ static _exit(int status) native "Process_Exit";
35 /* patch */ static _setExitCode(int status) native "Process_SetExitCode"; 35 /* patch */ static _setExitCode(int status) native "Process_SetExitCode";
36 /* patch */ static _sleep(int millis) native "Process_Sleep";
37 } 36 }
38 37
39 38
40 class _ProcessStartStatus { 39 class _ProcessStartStatus {
41 int _errorCode; // Set to OS error code if process start failed. 40 int _errorCode; // Set to OS error code if process start failed.
42 String _errorMessage; // Set to OS error message if process start failed. 41 String _errorMessage; // Set to OS error message if process start failed.
43 } 42 }
44 43
45 44
46 class _ProcessImpl extends NativeFieldWrapperClass1 implements Process { 45 class _ProcessImpl extends NativeFieldWrapperClass1 implements Process {
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 326
328 class _ProcessResult implements ProcessResult { 327 class _ProcessResult implements ProcessResult {
329 const _ProcessResult(int this.exitCode, 328 const _ProcessResult(int this.exitCode,
330 String this.stdout, 329 String this.stdout,
331 String this.stderr); 330 String this.stderr);
332 331
333 final int exitCode; 332 final int exitCode;
334 final String stdout; 333 final String stdout;
335 final String stderr; 334 final String stderr;
336 } 335 }
OLDNEW
« no previous file with comments | « runtime/bin/process.cc ('k') | runtime/bin/utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698