| Index: chrome/common/extensions/extension_l10n_util.cc
|
| diff --git a/chrome/common/extensions/extension_l10n_util.cc b/chrome/common/extensions/extension_l10n_util.cc
|
| index ac4b4baa75fed2e5f6c347a1e2acc247ce9f6687..b3ef3834a6711d6802e30f317f9aed9dea3ed7dd 100644
|
| --- a/chrome/common/extensions/extension_l10n_util.cc
|
| +++ b/chrome/common/extensions/extension_l10n_util.cc
|
| @@ -212,7 +212,7 @@ bool AddLocale(const std::set<std::string>& chrome_locales,
|
| }
|
| // Check if messages file is actually present (but don't check content).
|
| if (base::PathExists(
|
| - locale_folder.Append(extensions::kMessagesFilename))) {
|
| + locale_folder.Append(extensions::filenames::kMessagesFilename))) {
|
| valid_locales->insert(locale_name);
|
| } else {
|
| *error = base::StringPrintf("Catalog file is missing for locale %s.",
|
| @@ -295,7 +295,7 @@ static base::DictionaryValue* LoadMessageFile(
|
| std::string* error) {
|
| std::string extension_locale = locale;
|
| base::FilePath file = locale_path.AppendASCII(extension_locale)
|
| - .Append(extensions::kMessagesFilename);
|
| + .Append(extensions::filenames::kMessagesFilename);
|
| JSONFileValueSerializer messages_serializer(file);
|
| base::Value *dictionary = messages_serializer.Deserialize(NULL, error);
|
| if (!dictionary && error->empty()) {
|
|
|