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

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

Issue 899823002: Fix another type bug in r43455 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | 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) 2013, 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
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 Function _getWatchSignalInternal() => _ProcessUtils._watchSignalInternal; 134 Function _getWatchSignalInternal() => _ProcessUtils._watchSignalInternal;
135 135
136 136
137 patch class _ProcessUtils { 137 patch class _ProcessUtils {
138 /* patch */ static void _exit(int status) native "Process_Exit"; 138 /* patch */ static void _exit(int status) native "Process_Exit";
139 /* patch */ static void _setExitCode(int status) 139 /* patch */ static void _setExitCode(int status)
140 native "Process_SetExitCode"; 140 native "Process_SetExitCode";
141 /* patch */ static int _getExitCode() native "Process_GetExitCode"; 141 /* patch */ static int _getExitCode() native "Process_GetExitCode";
142 /* patch */ static void _sleep(int millis) native "Process_Sleep"; 142 /* patch */ static void _sleep(int millis) native "Process_Sleep";
143 /* patch */ static int _pid(Process process) native "Process_Pid"; 143 /* patch */ static int _pid(Process process) native "Process_Pid";
144 static int _killPid(int pid, int signal) 144 static bool _killPid(int pid, int signal)
145 native "Process_KillPid"; 145 native "Process_KillPid";
146 /* patch */ static Stream<ProcessSignal> _watchSignal(ProcessSignal signal) { 146 /* patch */ static Stream<ProcessSignal> _watchSignal(ProcessSignal signal) {
147 if (signal != ProcessSignal.SIGHUP && 147 if (signal != ProcessSignal.SIGHUP &&
148 signal != ProcessSignal.SIGINT && 148 signal != ProcessSignal.SIGINT &&
149 signal != ProcessSignal.SIGTERM && 149 signal != ProcessSignal.SIGTERM &&
150 (Platform.isWindows || 150 (Platform.isWindows ||
151 (signal != ProcessSignal.SIGUSR1 && 151 (signal != ProcessSignal.SIGUSR1 &&
152 signal != ProcessSignal.SIGUSR2 && 152 signal != ProcessSignal.SIGUSR2 &&
153 signal != ProcessSignal.SIGWINCH))) { 153 signal != ProcessSignal.SIGWINCH))) {
154 throw new SignalException( 154 throw new SignalException(
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
631 const _ProcessResult(int this.pid, 631 const _ProcessResult(int this.pid,
632 int this.exitCode, 632 int this.exitCode,
633 this.stdout, 633 this.stdout,
634 this.stderr); 634 this.stderr);
635 635
636 final int pid; 636 final int pid;
637 final int exitCode; 637 final int exitCode;
638 final stdout; 638 final stdout;
639 final stderr; 639 final stderr;
640 } 640 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698