Index: chrome/browser/history/text_database_manager.cc |
diff --git a/chrome/browser/history/text_database_manager.cc b/chrome/browser/history/text_database_manager.cc |
index 97f65557e41fa91ab4ec2e1e80af932bfe1123b0..1696610bf559e1b0b8ae1a0f471ac0516b78eec0 100644 |
--- a/chrome/browser/history/text_database_manager.cc |
+++ b/chrome/browser/history/text_database_manager.cc |
@@ -10,6 +10,7 @@ |
#include "base/bind.h" |
#include "base/compiler_specific.h" |
#include "base/file_util.h" |
+#include "base/files/file_enumerator.h" |
#include "base/metrics/histogram.h" |
#include "base/logging.h" |
#include "base/message_loop.h" |
@@ -160,8 +161,8 @@ void TextDatabaseManager::InitDBList() { |
// Find files on disk matching our pattern so we can quickly test for them. |
base::FilePath::StringType filepattern(TextDatabase::file_base()); |
filepattern.append(FILE_PATH_LITERAL("*")); |
- file_util::FileEnumerator enumerator( |
- dir_, false, file_util::FileEnumerator::FILES, filepattern); |
+ base::FileEnumerator enumerator( |
+ dir_, false, base::FileEnumerator::FILES, filepattern); |
base::FilePath cur_file; |
while (!(cur_file = enumerator.Next()).empty()) { |
// Convert to the number representing this file. |