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

Unified Diff: chrome/browser/importer/firefox2_importer.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/browser/history/text_database_manager.cc ('k') | chrome/browser/importer/firefox3_importer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/importer/firefox2_importer.cc
diff --git a/chrome/browser/importer/firefox2_importer.cc b/chrome/browser/importer/firefox2_importer.cc
index 9d70c538dde1e761a253976af7e346dac24fb839..72ce2c69874a7234ff1181b3d9e48b0fb124be89 100644
--- a/chrome/browser/importer/firefox2_importer.cc
+++ b/chrome/browser/importer/firefox2_importer.cc
@@ -8,6 +8,7 @@
#include <vector>
#include "base/file_util.h"
+#include "base/files/file_enumerator.h"
#include "base/files/file_path.h"
#include "base/i18n/icu_string_conversions.h"
#include "base/message_loop.h"
@@ -624,9 +625,9 @@ void Firefox2Importer::HTMLUnescape(string16* text) {
void Firefox2Importer::FindXMLFilesInDir(
const base::FilePath& dir,
std::vector<base::FilePath>* xml_files) {
- file_util::FileEnumerator file_enum(dir, false,
- file_util::FileEnumerator::FILES,
- FILE_PATH_LITERAL("*.xml"));
+ base::FileEnumerator file_enum(dir, false,
+ base::FileEnumerator::FILES,
+ FILE_PATH_LITERAL("*.xml"));
base::FilePath file(file_enum.Next());
while (!file.empty()) {
xml_files->push_back(file);
« no previous file with comments | « chrome/browser/history/text_database_manager.cc ('k') | chrome/browser/importer/firefox3_importer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698