Index: chrome/browser/chromeos/login/wallpaper_manager.cc |
diff --git a/chrome/browser/chromeos/login/wallpaper_manager.cc b/chrome/browser/chromeos/login/wallpaper_manager.cc |
index 25ef809b7850c8e16d8192f903c57ffec00d5fa9..50155492654a6d0da20c6da52159dd43feb50a56 100644 |
--- a/chrome/browser/chromeos/login/wallpaper_manager.cc |
+++ b/chrome/browser/chromeos/login/wallpaper_manager.cc |
@@ -9,6 +9,7 @@ |
#include "ash/shell.h" |
#include "base/command_line.h" |
#include "base/file_util.h" |
+#include "base/files/file_enumerator.h" |
#include "base/files/file_path.h" |
#include "base/logging.h" |
#include "base/metrics/histogram.h" |
@@ -685,8 +686,7 @@ void WallpaperManager::ClearObsoleteWallpaperPrefs() { |
void WallpaperManager::DeleteAllExcept(const base::FilePath& path) { |
base::FilePath dir = path.DirName(); |
if (file_util::DirectoryExists(dir)) { |
- file_util::FileEnumerator files(dir, false, |
- file_util::FileEnumerator::FILES); |
+ base::FileEnumerator files(dir, false, base::FileEnumerator::FILES); |
for (base::FilePath current = files.Next(); !current.empty(); |
current = files.Next()) { |
if (current != path) |