Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3030)

Unified Diff: chrome/test/perf/page_cycler_test.cc

Issue 13165005: Move FileEnumerator to its own file, do some refactoring. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge, fixes Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/mini_installer_test/installer_path_provider.cc ('k') | chrome/test/perf/startup_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/perf/page_cycler_test.cc
diff --git a/chrome/test/perf/page_cycler_test.cc b/chrome/test/perf/page_cycler_test.cc
index 9d130002dad1b5f01aba6ee05e5a444654f1c250..b386fddbce707528923ee62859d5416dee4819e4 100644
--- a/chrome/test/perf/page_cycler_test.cc
+++ b/chrome/test/perf/page_cycler_test.cc
@@ -5,6 +5,7 @@
#include "base/basictypes.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/path_service.h"
#include "base/process_util.h"
@@ -68,8 +69,8 @@ void PopulateBufferCache(const base::FilePath& test_dir) {
const base::FilePath svn_dir(FILE_PATH_LITERAL(".svn"));
for (size_t idx = 0; idx < dirs.size(); ++idx) {
- file_util::FileEnumerator dir_enumerator(dirs[idx], false,
- file_util::FileEnumerator::DIRECTORIES);
+ base::FileEnumerator dir_enumerator(dirs[idx], false,
+ base::FileEnumerator::DIRECTORIES);
base::FilePath path;
for (path = dir_enumerator.Next();
!path.empty();
@@ -89,8 +90,8 @@ void PopulateBufferCache(const base::FilePath& test_dir) {
std::vector<base::FilePath>::const_iterator iter;
for (iter = dirs.begin(); iter != dirs.end(); ++iter) {
- file_util::FileEnumerator file_enumerator(*iter, false,
- file_util::FileEnumerator::FILES);
+ base::FileEnumerator file_enumerator(*iter, false,
+ base::FileEnumerator::FILES);
base::FilePath path;
for (path = file_enumerator.Next();
!path.empty();
« no previous file with comments | « chrome/test/mini_installer_test/installer_path_provider.cc ('k') | chrome/test/perf/startup_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698