OLD | NEW |
---|---|
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 #include "bin/directory.h" | 5 #include "bin/directory.h" |
6 | 6 |
7 #include "bin/dartutils.h" | 7 #include "bin/dartutils.h" |
8 // #include "bin/file.h" | |
Søren Gjesse
2013/09/13 06:52:20
Remove?
| |
8 #include "bin/thread.h" | 9 #include "bin/thread.h" |
9 #include "include/dart_api.h" | 10 #include "include/dart_api.h" |
10 #include "platform/assert.h" | 11 #include "platform/assert.h" |
11 | 12 |
12 | 13 |
13 namespace dart { | 14 namespace dart { |
14 namespace bin { | 15 namespace bin { |
15 | 16 |
16 // Forward declaration. | 17 // Forward declaration. |
17 static void DirectoryService(Dart_Port, Dart_Port, Dart_CObject*); | 18 static void DirectoryService(Dart_Port, Dart_Port, Dart_CObject*); |
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
471 if (listing->error()) { | 472 if (listing->error()) { |
472 listing->HandleError("Invalid path"); | 473 listing->HandleError("Invalid path"); |
473 listing->HandleDone(); | 474 listing->HandleDone(); |
474 } else { | 475 } else { |
475 while (ListNext(listing)) {} | 476 while (ListNext(listing)) {} |
476 } | 477 } |
477 } | 478 } |
478 | 479 |
479 } // namespace bin | 480 } // namespace bin |
480 } // namespace dart | 481 } // namespace dart |
OLD | NEW |