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

Side by Side Diff: sdk/lib/_internal/lib/io_patch.dart

Issue 25720002: Add Directory.systemTemp getter to replace createSystemTemp(). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Don't add an extra / to a directory ending in // Created 7 years, 2 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 | « runtime/bin/io_service.h ('k') | sdk/lib/_internal/pub/lib/src/io.dart » ('j') | 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 _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");
11 } 11 }
12 patch static _createTemp(String template, bool system) { 12 patch static _createTemp(String path) {
13 throw new UnsupportedError("Directory._createTemp"); 13 throw new UnsupportedError("Directory._createTemp");
14 } 14 }
15 patch static String _systemTemp() {
16 throw new UnsupportedError("Directory._systemTemp");
17 }
15 patch static int _exists(String path) { 18 patch static int _exists(String path) {
16 throw new UnsupportedError("Directory._exists"); 19 throw new UnsupportedError("Directory._exists");
17 } 20 }
18 patch static _create(String path) { 21 patch static _create(String path) {
19 throw new UnsupportedError("Directory._create"); 22 throw new UnsupportedError("Directory._create");
20 } 23 }
21 patch static _deleteNative(String path, bool recursive) { 24 patch static _deleteNative(String path, bool recursive) {
22 throw new UnsupportedError("Directory._deleteNative"); 25 throw new UnsupportedError("Directory._deleteNative");
23 } 26 }
24 patch static _rename(String path, String newPath) { 27 patch static _rename(String path, String newPath) {
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 patch static bool get isSupported { 348 patch static bool get isSupported {
346 throw new UnsupportedError("_FileSystemWatcher.isSupported"); 349 throw new UnsupportedError("_FileSystemWatcher.isSupported");
347 } 350 }
348 } 351 }
349 352
350 patch class _IOService { 353 patch class _IOService {
351 patch static Future dispatch(int request, List data) { 354 patch static Future dispatch(int request, List data) {
352 throw new UnsupportedError("_IOService.dispatch"); 355 throw new UnsupportedError("_IOService.dispatch");
353 } 356 }
354 } 357 }
OLDNEW
« no previous file with comments | « runtime/bin/io_service.h ('k') | sdk/lib/_internal/pub/lib/src/io.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698