Index: net/base/directory_lister.cc |
diff --git a/net/base/directory_lister.cc b/net/base/directory_lister.cc |
index 046be32d49f749f2cfc553c89e84407a00f7e42f..e75e9f808dc87e828a2cd2adee5dfb87b0e8bcbb 100644 |
--- a/net/base/directory_lister.cc |
+++ b/net/base/directory_lister.cc |
@@ -20,8 +20,6 @@ namespace net { |
namespace { |
-const int kFilesPerEvent = 8; |
- |
bool IsDotDot(const base::FilePath& path) { |
return FILE_PATH_LITERAL("..") == path.BaseName().value(); |
} |
@@ -169,6 +167,7 @@ void DirectoryLister::Core::StartInternal() { |
should be done from JS to give more flexibility in the page. When we do |
that, we can uncomment this to send incremental updates to the page. |
+ const int kFilesPerEvent = 8; |
if (file_data.size() < kFilesPerEvent) |
continue; |