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

Unified Diff: trunk/src/chrome/common/extensions/api/i18n/default_locale_handler.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
Index: trunk/src/chrome/common/extensions/api/i18n/default_locale_handler.cc
===================================================================
--- trunk/src/chrome/common/extensions/api/i18n/default_locale_handler.cc (revision 198849)
+++ trunk/src/chrome/common/extensions/api/i18n/default_locale_handler.cc (working copy)
@@ -5,7 +5,6 @@
#include "chrome/common/extensions/api/i18n/default_locale_handler.h"
#include "base/file_util.h"
-#include "base/files/file_enumerator.h"
#include "base/memory/scoped_ptr.h"
#include "base/string_util.h"
#include "base/stringprintf.h"
@@ -72,7 +71,9 @@
}
// Treat all folders under _locales as valid locales.
- base::FileEnumerator locales(path, false, base::FileEnumerator::DIRECTORIES);
+ file_util::FileEnumerator locales(path,
+ false,
+ file_util::FileEnumerator::DIRECTORIES);
std::set<std::string> all_locales;
extension_l10n_util::GetAllLocales(&all_locales);
« no previous file with comments | « trunk/src/chrome/browser/ui/webui/feedback_ui.cc ('k') | trunk/src/chrome/common/extensions/extension_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698