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

Unified Diff: trunk/src/chrome/installer/util/installer_state_unittest.cc

Issue 14824006: Revert 198820 "Move FileEnumerator to its own file, do some refa..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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 | « trunk/src/chrome/installer/util/installer_state.cc ('k') | trunk/src/chrome/installer/util/shell_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/installer/util/installer_state_unittest.cc
===================================================================
--- trunk/src/chrome/installer/util/installer_state_unittest.cc (revision 198849)
+++ trunk/src/chrome/installer/util/installer_state_unittest.cc (working copy)
@@ -9,7 +9,6 @@
#include "base/base_paths.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/path_service.h"
@@ -585,8 +584,8 @@
expected_remaining_dirs.insert(kNewChromeExeVersion);
// Enumerate dirs in target_path(), ensure only desired remain.
- base::FileEnumerator version_enum(installer_state.target_path(), false,
- base::FileEnumerator::DIRECTORIES);
+ file_util::FileEnumerator version_enum(installer_state.target_path(), false,
+ file_util::FileEnumerator::DIRECTORIES);
for (base::FilePath next_version = version_enum.Next(); !next_version.empty();
next_version = version_enum.Next()) {
base::FilePath dir_name(next_version.BaseName());
« no previous file with comments | « trunk/src/chrome/installer/util/installer_state.cc ('k') | trunk/src/chrome/installer/util/shell_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698