Index: chrome/browser/profiles/profile_shortcut_manager_win.cc |
diff --git a/chrome/browser/profiles/profile_shortcut_manager_win.cc b/chrome/browser/profiles/profile_shortcut_manager_win.cc |
index 3c038a1401b353bfdf5a75da6dbb27ceb768e5ec..43308cd75a52a544148363889cceb14e5cd9ecab 100644 |
--- a/chrome/browser/profiles/profile_shortcut_manager_win.cc |
+++ b/chrome/browser/profiles/profile_shortcut_manager_win.cc |
@@ -12,6 +12,7 @@ |
#include "base/bind.h" |
#include "base/command_line.h" |
#include "base/file_util.h" |
+#include "base/files/file_enumerator.h" |
#include "base/path_service.h" |
#include "base/string16.h" |
#include "base/string_util.h" |
@@ -233,8 +234,8 @@ void ListDesktopShortcutsWithCommandLine(const base::FilePath& chrome_exe, |
if (!GetDesktopShortcutsDirectories(&user_shortcuts_directory, NULL)) |
return; |
- file_util::FileEnumerator enumerator(user_shortcuts_directory, false, |
- file_util::FileEnumerator::FILES); |
+ base::FileEnumerator enumerator(user_shortcuts_directory, false, |
+ base::FileEnumerator::FILES); |
for (base::FilePath path = enumerator.Next(); !path.empty(); |
path = enumerator.Next()) { |
string16 shortcut_command_line; |
@@ -403,8 +404,8 @@ bool ChromeDesktopShortcutsExist(const base::FilePath& chrome_exe) { |
if (!GetDesktopShortcutsDirectories(&user_shortcuts_directory, NULL)) |
return false; |
- file_util::FileEnumerator enumerator(user_shortcuts_directory, false, |
- file_util::FileEnumerator::FILES); |
+ base::FileEnumerator enumerator(user_shortcuts_directory, false, |
+ base::FileEnumerator::FILES); |
for (base::FilePath path = enumerator.Next(); !path.empty(); |
path = enumerator.Next()) { |
if (IsChromeShortcut(path, chrome_exe, NULL)) |