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

Unified Diff: sdk/lib/io/directory_impl.dart

Issue 17158003: Report async errors when they happend, in directory listing. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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
« no previous file with comments | « runtime/bin/directory_macos.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/directory_impl.dart
diff --git a/sdk/lib/io/directory_impl.dart b/sdk/lib/io/directory_impl.dart
index 39f8b2ca16377d7edb2dff45fa6322f6240736fa..f47ef4f90a7a1c5ff441597ba5b783cb9a81383a 100644
--- a/sdk/lib/io/directory_impl.dart
+++ b/sdk/lib/io/directory_impl.dart
@@ -282,16 +282,16 @@ class _Directory implements Directory {
}
class _AsyncDirectoryLister {
- const int LIST_FILE = 0;
- const int LIST_DIRECTORY = 1;
- const int LIST_LINK = 2;
- const int LIST_ERROR = 3;
- const int LIST_DONE = 4;
-
- const int RESPONSE_TYPE = 0;
- const int RESPONSE_PATH = 1;
- const int RESPONSE_COMPLETE = 1;
- const int RESPONSE_ERROR = 2;
+ static const int LIST_FILE = 0;
+ static const int LIST_DIRECTORY = 1;
+ static const int LIST_LINK = 2;
+ static const int LIST_ERROR = 3;
+ static const int LIST_DONE = 4;
+
+ static const int RESPONSE_TYPE = 0;
+ static const int RESPONSE_PATH = 1;
+ static const int RESPONSE_COMPLETE = 1;
+ static const int RESPONSE_ERROR = 2;
final String path;
final bool recursive;
« no previous file with comments | « runtime/bin/directory_macos.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698