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

Side by Side Diff: frog/file_system_dom.dart

Issue 10389097: Move dart:dom to dart:dom_deprecated (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixes from review Created 8 years, 7 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
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 #library('file_system_dom'); 5 #library('file_system_dom');
6 6
7 #import('dart:dom'); 7 #import('dart:dom_deprecated');
8 #import('file_system.dart'); 8 #import('file_system.dart');
9 9
10 /** 10 /**
11 * [FileSystem] implementation using XHRs for reading files and an in memory 11 * [FileSystem] implementation using XHRs for reading files and an in memory
12 * cache for writing them. 12 * cache for writing them.
13 */ 13 */
14 class DomFileSystem implements FileSystem { 14 class DomFileSystem implements FileSystem {
15 Map<String, String> _fileCache; 15 Map<String, String> _fileCache;
16 String _path; 16 String _path;
17 17
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 void createDirectory(String path, [bool recursive = false]) { 72 void createDirectory(String path, [bool recursive = false]) {
73 // TODO(rnystrom): Implement. 73 // TODO(rnystrom): Implement.
74 throw 'createDirectory() is not implemented by DomFileSystem yet.'; 74 throw 'createDirectory() is not implemented by DomFileSystem yet.';
75 } 75 }
76 76
77 void removeDirectory(String path, [bool recursive = false]) { 77 void removeDirectory(String path, [bool recursive = false]) {
78 // TODO(rnystrom): Implement. 78 // TODO(rnystrom): Implement.
79 throw 'removeDirectory() is not implemented by DomFileSystem yet.'; 79 throw 'removeDirectory() is not implemented by DomFileSystem yet.';
80 } 80 }
81 } 81 }
OLDNEW
« no previous file with comments | « editor/tools/plugins/com.google.dart.tools.core_test/test_data/UserLibrary/userLib.dart ('k') | frog/reader.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698