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

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

Issue 9129020: Another round of minor fixes in the IO libraries. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 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/chunked_stream.dart ('k') | 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 // Used for holding error code and error message for failed OS system calls. 6 // Used for holding error code and error message for failed OS system calls.
7 class _OSStatus { 7 class _OSStatus {
8 int _errorCode; 8 int _errorCode;
9 String _errorMessage; 9 String _errorMessage;
10 } 10 }
(...skipping 21 matching lines...) Expand all
32 SendPort dirPort, 32 SendPort dirPort,
33 SendPort filePort, 33 SendPort filePort,
34 SendPort donePort, 34 SendPort donePort,
35 SendPort errorPort) native "Directory_List"; 35 SendPort errorPort) native "Directory_List";
36 } 36 }
37 37
38 38
39 class _DirectoryOperation { 39 class _DirectoryOperation {
40 abstract void execute(ReceivePort port); 40 abstract void execute(ReceivePort port);
41 41
42 SendPort set replyPort(SendPort port) { 42 void set replyPort(SendPort port) {
43 _replyPort = port; 43 _replyPort = port;
44 } 44 }
45 45
46 SendPort _replyPort; 46 SendPort _replyPort;
47 } 47 }
48 48
49 49
50 class _DirExitOperation extends _DirectoryOperation { 50 class _DirExitOperation extends _DirectoryOperation {
51 void execute(ReceivePort port) { 51 void execute(ReceivePort port) {
52 port.close(); 52 port.close();
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 var _doneHandler; 362 var _doneHandler;
363 var _existsHandler; 363 var _existsHandler;
364 var _createHandler; 364 var _createHandler;
365 var _createTempHandler; 365 var _createTempHandler;
366 var _deleteHandler; 366 var _deleteHandler;
367 var _errorHandler; 367 var _errorHandler;
368 368
369 String _path; 369 String _path;
370 _DirectoryOperationScheduler _scheduler; 370 _DirectoryOperationScheduler _scheduler;
371 } 371 }
OLDNEW
« no previous file with comments | « runtime/bin/chunked_stream.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698