Index: chrome/browser/policy/policy_browsertest.cc |
diff --git a/chrome/browser/policy/policy_browsertest.cc b/chrome/browser/policy/policy_browsertest.cc |
index 3a7a78da5e7b7fb8749547e8710514ebf33c82bb..841f9d9455650ec902e5d7a6996cb755d93fac5b 100644 |
--- a/chrome/browser/policy/policy_browsertest.cc |
+++ b/chrome/browser/policy/policy_browsertest.cc |
@@ -10,6 +10,7 @@ |
#include "base/bind_helpers.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/files/scoped_temp_dir.h" |
#include "base/memory/ref_counted.h" |
@@ -277,8 +278,7 @@ void DownloadAndVerifyFile( |
EXPECT_EQ( |
1u, observer.NumDownloadsSeenInState(content::DownloadItem::COMPLETE)); |
EXPECT_TRUE(file_util::PathExists(downloaded)); |
- file_util::FileEnumerator enumerator( |
- dir, false, file_util::FileEnumerator::FILES); |
+ base::FileEnumerator enumerator(dir, false, base::FileEnumerator::FILES); |
EXPECT_EQ(file, enumerator.Next().BaseName()); |
EXPECT_EQ(base::FilePath(), enumerator.Next()); |
} |
@@ -287,9 +287,9 @@ void DownloadAndVerifyFile( |
int CountScreenshots() { |
DownloadPrefs* download_prefs = DownloadPrefs::FromBrowserContext( |
ash::Shell::GetInstance()->delegate()->GetCurrentBrowserContext()); |
- file_util::FileEnumerator enumerator(download_prefs->DownloadPath(), |
- false, file_util::FileEnumerator::FILES, |
- "Screenshot*"); |
+ base::FileEnumerator enumerator(download_prefs->DownloadPath(), |
+ false, base::FileEnumerator::FILES, |
+ "Screenshot*"); |
int count = 0; |
while (!enumerator.Next().empty()) |
count++; |