OLD | NEW |
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 import 'dart:_js_helper' show patch; | 5 import 'dart:_js_helper' show patch; |
6 | 6 |
7 @patch | 7 @patch |
8 class _Directory { | 8 class _Directory { |
9 @patch | 9 @patch |
10 static _current() { | 10 static _current() { |
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 String executable, | 298 String executable, |
299 List<String> arguments, | 299 List<String> arguments, |
300 {String workingDirectory, | 300 {String workingDirectory, |
301 Map<String, String> environment, | 301 Map<String, String> environment, |
302 bool includeParentEnvironment: true, | 302 bool includeParentEnvironment: true, |
303 bool runInShell: false, | 303 bool runInShell: false, |
304 Encoding stdoutEncoding: SYSTEM_ENCODING, | 304 Encoding stdoutEncoding: SYSTEM_ENCODING, |
305 Encoding stderrEncoding: SYSTEM_ENCODING}) { | 305 Encoding stderrEncoding: SYSTEM_ENCODING}) { |
306 throw new UnsupportedError("Process.runSync"); | 306 throw new UnsupportedError("Process.runSync"); |
307 } | 307 } |
| 308 |
| 309 @patch |
| 310 static bool killPid( |
| 311 int pid, [ProcessSignal signal = ProcessSignal.SIGTERM]) { |
| 312 throw new UnsupportedError("Process.killPid"); |
| 313 } |
308 } | 314 } |
309 | 315 |
310 @patch | 316 @patch |
311 class InternetAddress { | 317 class InternetAddress { |
312 @patch | 318 @patch |
313 static InternetAddress get LOOPBACK_IP_V4 { | 319 static InternetAddress get LOOPBACK_IP_V4 { |
314 throw new UnsupportedError("InternetAddress.LOOPBACK_IP_V4"); | 320 throw new UnsupportedError("InternetAddress.LOOPBACK_IP_V4"); |
315 } | 321 } |
316 @patch | 322 @patch |
317 static InternetAddress get LOOPBACK_IP_V6 { | 323 static InternetAddress get LOOPBACK_IP_V6 { |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
522 } | 528 } |
523 } | 529 } |
524 | 530 |
525 @patch | 531 @patch |
526 class _IOService { | 532 class _IOService { |
527 @patch | 533 @patch |
528 static Future _dispatch(int request, List data) { | 534 static Future _dispatch(int request, List data) { |
529 throw new UnsupportedError("_IOService._dispatch"); | 535 throw new UnsupportedError("_IOService._dispatch"); |
530 } | 536 } |
531 } | 537 } |
OLD | NEW |