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

Unified Diff: trunk/src/chrome/common/extensions/extension_l10n_util.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/extension_l10n_util.cc
===================================================================
--- trunk/src/chrome/common/extensions/extension_l10n_util.cc (revision 198849)
+++ trunk/src/chrome/common/extensions/extension_l10n_util.cc (working copy)
@@ -10,7 +10,6 @@
#include <vector>
#include "base/file_util.h"
-#include "base/files/file_enumerator.h"
#include "base/json/json_file_value_serializer.h"
#include "base/logging.h"
#include "base/memory/linked_ptr.h"
@@ -287,9 +286,9 @@
GetAllLocales(&chrome_locales);
// Enumerate all supplied locales in the extension.
- base::FileEnumerator locales(locale_path,
- false,
- base::FileEnumerator::DIRECTORIES);
+ file_util::FileEnumerator locales(locale_path,
+ false,
+ file_util::FileEnumerator::DIRECTORIES);
base::FilePath locale_folder;
while (!(locale_folder = locales.Next()).empty()) {
std::string locale_name = locale_folder.BaseName().MaybeAsASCII();
« no previous file with comments | « trunk/src/chrome/common/extensions/extension_file_util.cc ('k') | trunk/src/chrome/common/extensions/unpacker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698