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

Side by Side Diff: runtime/bin/directory_impl.dart

Issue 8273038: Fix type annotation error in directory implementation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 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 | « no previous file | no next file » | 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) 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 5
6 class DirectoryException { 6 class DirectoryException {
7 String toString() { return "DirectoryException: $message"; } 7 String toString() { return "DirectoryException: $message"; }
8 const DirectoryException(String this.message); 8 const DirectoryException(String this.message);
9 final String message; 9 final String message;
10 } 10 }
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 } 137 }
138 138
139 void _closePort(ReceivePort port) { 139 void _closePort(ReceivePort port) {
140 if (port !== null) { 140 if (port !== null) {
141 port.close(); 141 port.close();
142 } 142 }
143 } 143 }
144 144
145 String get path() { return _path; } 145 String get path() { return _path; }
146 146
147 bool _exists(String path) native "Directory_Exists"; 147 int _exists(String path) native "Directory_Exists";
148 bool _create(String path) native "Directory_Create"; 148 bool _create(String path) native "Directory_Create";
149 bool _delete(String path) native "Directory_Delete"; 149 bool _delete(String path) native "Directory_Delete";
150 150
151 var _dirHandler; 151 var _dirHandler;
152 var _fileHandler; 152 var _fileHandler;
153 var _doneHandler; 153 var _doneHandler;
154 var _errorHandler; 154 var _errorHandler;
155 155
156 String _path; 156 String _path;
157 } 157 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698