| 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 92ac0ea7f0a856cdcc3e8a32d79f5415766cec2a..d0b0b9425bcf0f5000fcab6ece0998f8d4b796ca 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"
|
| @@ -232,8 +233,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;
|
| @@ -399,8 +400,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))
|
|
|