Chromium Code Reviews| 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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 178 } | 178 } |
| 179 @patch | 179 @patch |
| 180 static _length(int id) { | 180 static _length(int id) { |
| 181 throw new UnsupportedError("RandomAccessFile._length"); | 181 throw new UnsupportedError("RandomAccessFile._length"); |
| 182 } | 182 } |
| 183 @patch | 183 @patch |
| 184 static _flush(int id) { | 184 static _flush(int id) { |
| 185 throw new UnsupportedError("RandomAccessFile._flush"); | 185 throw new UnsupportedError("RandomAccessFile._flush"); |
| 186 } | 186 } |
| 187 @patch | 187 @patch |
| 188 static _lock(int id, int lock, int start, int end) { | 188 static _lock(int id, int lock, int start, int end) { |
|
Anders Johnsen
2015/01/14 13:56:59
Unrelated?
Søren Gjesse
2015/01/15 14:15:20
Yes, added after rebase.
| |
| 189 throw new UnsupportedError("RandomAccessFile._lock"); | 189 throw new UnsupportedError("RandomAccessFile._lock"); |
| 190 } | 190 } |
| 191 } | 191 } |
| 192 | 192 |
| 193 @patch | 193 @patch |
| 194 class _IOCrypto { | 194 class _IOCrypto { |
| 195 @patch | 195 @patch |
| 196 static Uint8List getRandomBytes(int count) { | 196 static Uint8List getRandomBytes(int count) { |
| 197 throw new UnsupportedError("_IOCrypto.getRandomBytes"); | 197 throw new UnsupportedError("_IOCrypto.getRandomBytes"); |
| 198 } | 198 } |
| (...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 488 } | 488 } |
| 489 @patch | 489 @patch |
| 490 void set lineMode(bool enabled) { | 490 void set lineMode(bool enabled) { |
| 491 throw new UnsupportedError("Stdin.lineMode"); | 491 throw new UnsupportedError("Stdin.lineMode"); |
| 492 } | 492 } |
| 493 } | 493 } |
| 494 | 494 |
| 495 @patch | 495 @patch |
| 496 class Stdout { | 496 class Stdout { |
| 497 @patch | 497 @patch |
| 498 bool get hasTerminal { | 498 bool _hasTerminal(int fd) { |
| 499 throw new UnsupportedError("Stdout.hasTerminal"); | 499 throw new UnsupportedError("Stdout.hasTerminal"); |
| 500 } | 500 } |
| 501 @patch | 501 @patch |
| 502 int get terminalColumns { | 502 int _terminalColumns(int fd) { |
| 503 throw new UnsupportedError("Stdout.terminalColumns"); | 503 throw new UnsupportedError("Stdout.terminalColumns"); |
| 504 } | 504 } |
| 505 @patch | 505 @patch |
| 506 int get terminalLines { | 506 int _terminalLines(int fd) { |
| 507 throw new UnsupportedError("Stdout.terminalLines"); | 507 throw new UnsupportedError("Stdout.terminalLines"); |
| 508 } | 508 } |
| 509 } | 509 } |
| 510 | 510 |
| 511 @patch | 511 @patch |
| 512 class _FileSystemWatcher { | 512 class _FileSystemWatcher { |
| 513 @patch | 513 @patch |
| 514 static Stream<FileSystemEvent> watch( | 514 static Stream<FileSystemEvent> watch( |
| 515 String path, int events, bool recursive) { | 515 String path, int events, bool recursive) { |
| 516 throw new UnsupportedError("_FileSystemWatcher.watch"); | 516 throw new UnsupportedError("_FileSystemWatcher.watch"); |
| 517 } | 517 } |
| 518 @patch | 518 @patch |
| 519 static bool get isSupported { | 519 static bool get isSupported { |
| 520 throw new UnsupportedError("_FileSystemWatcher.isSupported"); | 520 throw new UnsupportedError("_FileSystemWatcher.isSupported"); |
| 521 } | 521 } |
| 522 } | 522 } |
| 523 | 523 |
| 524 @patch | 524 @patch |
| 525 class _IOService { | 525 class _IOService { |
| 526 @patch | 526 @patch |
| 527 static Future dispatch(int request, List data) { | 527 static Future dispatch(int request, List data) { |
| 528 throw new UnsupportedError("_IOService.dispatch"); | 528 throw new UnsupportedError("_IOService.dispatch"); |
| 529 } | 529 } |
| 530 } | 530 } |
| OLD | NEW |