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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 throw new UnsupportedError("ProcessUtils._pid"); | 284 throw new UnsupportedError("ProcessUtils._pid"); |
285 } | 285 } |
286 | 286 |
287 @patch | 287 @patch |
288 static Stream<ProcessSignal> _watchSignal(ProcessSignal signal) { | 288 static Stream<ProcessSignal> _watchSignal(ProcessSignal signal) { |
289 throw new UnsupportedError("ProcessUtils._watchSignal"); | 289 throw new UnsupportedError("ProcessUtils._watchSignal"); |
290 } | 290 } |
291 } | 291 } |
292 | 292 |
293 @patch | 293 @patch |
| 294 class ProcessInfo { |
| 295 @patch |
| 296 static int get currentRss { |
| 297 throw new UnsupportedError("ProcessInfo.currentRss"); |
| 298 } |
| 299 |
| 300 @patch |
| 301 static int get maxRss { |
| 302 throw new UnsupportedError("ProcessInfo.maxRss"); |
| 303 } |
| 304 } |
| 305 |
| 306 @patch |
294 class Process { | 307 class Process { |
295 @patch | 308 @patch |
296 static Future<Process> start(String executable, List<String> arguments, | 309 static Future<Process> start(String executable, List<String> arguments, |
297 {String workingDirectory, | 310 {String workingDirectory, |
298 Map<String, String> environment, | 311 Map<String, String> environment, |
299 bool includeParentEnvironment: true, | 312 bool includeParentEnvironment: true, |
300 bool runInShell: false, | 313 bool runInShell: false, |
301 ProcessStartMode mode: ProcessStartMode.NORMAL}) { | 314 ProcessStartMode mode: ProcessStartMode.NORMAL}) { |
302 throw new UnsupportedError("Process.start"); | 315 throw new UnsupportedError("Process.start"); |
303 } | 316 } |
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
602 } | 615 } |
603 } | 616 } |
604 | 617 |
605 @patch | 618 @patch |
606 class _IOService { | 619 class _IOService { |
607 @patch | 620 @patch |
608 static Future _dispatch(int request, List data) { | 621 static Future _dispatch(int request, List data) { |
609 throw new UnsupportedError("_IOService._dispatch"); | 622 throw new UnsupportedError("_IOService._dispatch"); |
610 } | 623 } |
611 } | 624 } |
OLD | NEW |