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 f83c50767279a217b91107140461ffe7ab16a49c..e8b7435a66a2490492a113fdc3e92131da7161f2 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. |