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 patch class _Directory { | 5 patch class _Directory { |
6 patch static _current() { | 6 patch static _current() { |
7 throw new UnsupportedError("Directory._current"); | 7 throw new UnsupportedError("Directory._current"); |
8 } | 8 } |
9 patch static _setCurrent(path) { | 9 patch static _setCurrent(path) { |
10 throw new UnsupportedError("Directory_SetCurrent"); | 10 throw new UnsupportedError("Directory_SetCurrent"); |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
213 {String workingDirectory, | 213 {String workingDirectory, |
214 Map<String, String> environment, | 214 Map<String, String> environment, |
215 bool includeParentEnvironment: true, | 215 bool includeParentEnvironment: true, |
216 bool runInShell: false, | 216 bool runInShell: false, |
217 Encoding stdoutEncoding: SYSTEM_ENCODING, | 217 Encoding stdoutEncoding: SYSTEM_ENCODING, |
218 Encoding stderrEncoding: SYSTEM_ENCODING}) { | 218 Encoding stderrEncoding: SYSTEM_ENCODING}) { |
219 throw new UnsupportedError("Process.runSync"); | 219 throw new UnsupportedError("Process.runSync"); |
220 } | 220 } |
221 } | 221 } |
222 | 222 |
223 class _InternetAddress { | |
Anders Johnsen
2013/11/20 11:57:18
This looks unused.
Søren Gjesse
2013/11/20 12:02:37
Thanks, removed.
| |
224 _InternetAddress.parse(String address) { | |
225 throw new UnsupportedError("InternetAddress.lookup"); | |
226 } | |
227 } | |
228 | |
223 patch class InternetAddress { | 229 patch class InternetAddress { |
224 patch static InternetAddress get LOOPBACK_IP_V4 { | 230 patch static InternetAddress get LOOPBACK_IP_V4 { |
225 throw new UnsupportedError("InternetAddress.LOOPBACK_IP_V4"); | 231 throw new UnsupportedError("InternetAddress.LOOPBACK_IP_V4"); |
226 } | 232 } |
227 patch static InternetAddress get LOOPBACK_IP_V6 { | 233 patch static InternetAddress get LOOPBACK_IP_V6 { |
228 throw new UnsupportedError("InternetAddress.LOOPBACK_IP_V6"); | 234 throw new UnsupportedError("InternetAddress.LOOPBACK_IP_V6"); |
229 } | 235 } |
230 patch static InternetAddress get ANY_IP_V4 { | 236 patch static InternetAddress get ANY_IP_V4 { |
231 throw new UnsupportedError("InternetAddress.ANY_IP_V4"); | 237 throw new UnsupportedError("InternetAddress.ANY_IP_V4"); |
232 } | 238 } |
233 patch static InternetAddress get ANY_IP_V6 { | 239 patch static InternetAddress get ANY_IP_V6 { |
234 throw new UnsupportedError("InternetAddress.ANY_IP_V6"); | 240 throw new UnsupportedError("InternetAddress.ANY_IP_V6"); |
235 } | 241 } |
242 patch InternetAddress(String address) { | |
243 throw new UnsupportedError("InternetAddress"); | |
244 } | |
236 patch static Future<List<InternetAddress>> lookup( | 245 patch static Future<List<InternetAddress>> lookup( |
237 String host, {InternetAddressType type: InternetAddressType.ANY}) { | 246 String host, {InternetAddressType type: InternetAddressType.ANY}) { |
238 throw new UnsupportedError("InternetAddress.lookup"); | 247 throw new UnsupportedError("InternetAddress.lookup"); |
239 } | 248 } |
240 } | 249 } |
241 | 250 |
242 patch class NetworkInterface { | 251 patch class NetworkInterface { |
243 patch static Future<List<NetworkInterface>> list({ | 252 patch static Future<List<NetworkInterface>> list({ |
244 bool includeLoopback: false, | 253 bool includeLoopback: false, |
245 bool includeLinkLocal: false, | 254 bool includeLinkLocal: false, |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
348 patch static bool get isSupported { | 357 patch static bool get isSupported { |
349 throw new UnsupportedError("_FileSystemWatcher.isSupported"); | 358 throw new UnsupportedError("_FileSystemWatcher.isSupported"); |
350 } | 359 } |
351 } | 360 } |
352 | 361 |
353 patch class _IOService { | 362 patch class _IOService { |
354 patch static Future dispatch(int request, List data) { | 363 patch static Future dispatch(int request, List data) { |
355 throw new UnsupportedError("_IOService.dispatch"); | 364 throw new UnsupportedError("_IOService.dispatch"); |
356 } | 365 } |
357 } | 366 } |
OLD | NEW |