| Index: chrome/common/extensions/api/i18n/default_locale_handler.cc
|
| diff --git a/chrome/common/extensions/api/i18n/default_locale_handler.cc b/chrome/common/extensions/api/i18n/default_locale_handler.cc
|
| index 3d17a1eec3dce54c01a6982ea42d84bfe91ad324..ea979e4d5ff1ba971235e0b95e55c7772d4fa4a0 100644
|
| --- a/chrome/common/extensions/api/i18n/default_locale_handler.cc
|
| +++ b/chrome/common/extensions/api/i18n/default_locale_handler.cc
|
| @@ -5,6 +5,7 @@
|
| #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"
|
| @@ -71,9 +72,7 @@ bool DefaultLocaleHandler::Validate(
|
| }
|
|
|
| // Treat all folders under _locales as valid locales.
|
| - file_util::FileEnumerator locales(path,
|
| - false,
|
| - file_util::FileEnumerator::DIRECTORIES);
|
| + base::FileEnumerator locales(path, false, base::FileEnumerator::DIRECTORIES);
|
|
|
| std::set<std::string> all_locales;
|
| extension_l10n_util::GetAllLocales(&all_locales);
|
|
|