| Index: chrome/common/extensions/extension_l10n_util.h
|
| diff --git a/chrome/common/extensions/extension_l10n_util.h b/chrome/common/extensions/extension_l10n_util.h
|
| index 1ccf6c3922261de2f0cecc62921b7e9b424b97b9..a0806938b7f81d7a2f064fe1c271f187fbe1247b 100644
|
| --- a/chrome/common/extensions/extension_l10n_util.h
|
| +++ b/chrome/common/extensions/extension_l10n_util.h
|
| @@ -68,6 +68,13 @@ std::string CurrentLocaleOrDefault();
|
| // proper fallback.
|
| void GetAllLocales(std::set<std::string>* all_locales);
|
|
|
| +// Provides a vector of all fallback locales for message localization.
|
| +// The vector is ordered by priority of locale - |application_locale|,
|
| +// first_parent, ..., |default_locale|.
|
| +void GetAllFallbackLocales(const std::string& application_locale,
|
| + const std::string& default_locale,
|
| + std::vector<std::string>* all_fallback_locales);
|
| +
|
| // Adds valid locales to the extension.
|
| // 1. Do nothing if _locales directory is missing (not an error).
|
| // 2. Get list of Chrome locales.
|
|
|