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

Unified Diff: runtime/bin/directory.h

Issue 8244001: Clean up directory listing interface. (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 side-by-side diff with in-line comments
Download patch
Index: runtime/bin/directory.h
diff --git a/runtime/bin/directory.h b/runtime/bin/directory.h
index a187d69d80eec9b23d306eaa7648706f6c87d09d..0c6b7e23c4f1c2d9d6bb6260c423af12b6a0ea06 100644
--- a/runtime/bin/directory.h
+++ b/runtime/bin/directory.h
@@ -10,15 +10,12 @@
class Directory {
public:
- static bool Open(const char* path, intptr_t* dir);
- static bool Close(intptr_t dir);
static void List(const char* path,
- intptr_t dir,
bool recursive,
- Dart_Port dir_handler,
- Dart_Port file_handler,
- Dart_Port done_handler,
- Dart_Port dir_error_handler);
+ Dart_Port dir_port,
+ Dart_Port file_port,
+ Dart_Port done_port,
+ Dart_Port error_port);
DISALLOW_ALLOCATION();
DISALLOW_IMPLICIT_CONSTRUCTORS(Directory);
« no previous file with comments | « runtime/bin/builtin_in.cc ('k') | runtime/bin/directory.cc » ('j') | runtime/bin/directory.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698