Index: chrome/browser/policy/policy_browsertest.cc |
diff --git a/chrome/browser/policy/policy_browsertest.cc b/chrome/browser/policy/policy_browsertest.cc |
index ccf8cd39c82b52efd431e6f15a99c844d1f8d0d7..523ad069e545696422319e861955b5edc3c467b9 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" |
@@ -290,8 +291,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()); |
} |
@@ -300,9 +300,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++; |