Index: base/files/file_enumerator.h |
diff --git a/base/files/file_enumerator.h b/base/files/file_enumerator.h |
index ce9bd1fd265d3e376cbf9518f8c4573376d72dfd..38bb8337c70fb2ad19af6ea8fc1086beda1cfca6 100644 |
--- a/base/files/file_enumerator.h |
+++ b/base/files/file_enumerator.h |
@@ -53,6 +53,9 @@ class BASE_EXPORT FileEnumerator { |
Time GetLastModifiedTime() const; |
#if defined(OS_WIN) |
+ // Note that the cAlternateFileName (used to hold the "short" 8.3 name) |
+ // of the WIN32_FIND_DATA will be empty. Since we don't use short file |
+ // names, we tell Windows to omit it which speeds up the query slightly. |
const WIN32_FIND_DATA& find_data() const { return find_data_; } |
#elif defined(OS_POSIX) |
const struct stat& stat() const { return stat_; } |