Index: webkit/database/database_tracker.cc |
diff --git a/webkit/database/database_tracker.cc b/webkit/database/database_tracker.cc |
index 85fa2624eb93d59dc8f37ce06e9d8e6e0337111b..ed217f857259026e994e07da0dcb069f8b59c93b 100644 |
--- a/webkit/database/database_tracker.cc |
+++ b/webkit/database/database_tracker.cc |
@@ -10,6 +10,7 @@ |
#include "base/basictypes.h" |
#include "base/bind.h" |
#include "base/file_util.h" |
+#include "base/files/file_enumerator.h" |
#include "base/message_loop_proxy.h" |
#include "base/platform_file.h" |
#include "base/strings/string_number_conversions.h" |
@@ -412,10 +413,10 @@ bool DatabaseTracker::DeleteOrigin(const base::string16& origin_identifier, |
file_util::CreateTemporaryDirInDir(db_dir_, |
kTemporaryDirectoryPrefix, |
&new_origin_dir); |
- file_util::FileEnumerator databases( |
+ base::FileEnumerator databases( |
origin_dir, |
false, |
- file_util::FileEnumerator::FILES); |
+ base::FileEnumerator::FILES); |
for (base::FilePath database = databases.Next(); !database.empty(); |
database = databases.Next()) { |
base::FilePath new_file = new_origin_dir.Append(database.BaseName()); |
@@ -457,10 +458,10 @@ bool DatabaseTracker::LazyInit() { |
// If there are left-over directories from failed deletion attempts, clean |
// them up. |
if (file_util::DirectoryExists(db_dir_)) { |
- file_util::FileEnumerator directories( |
+ base::FileEnumerator directories( |
db_dir_, |
false, |
- file_util::FileEnumerator::DIRECTORIES, |
+ base::FileEnumerator::DIRECTORIES, |
kTemporaryDirectoryPattern); |
for (base::FilePath directory = directories.Next(); !directory.empty(); |
directory = directories.Next()) { |