Index: ui/base/l10n/l10n_util.h |
diff --git a/ui/base/l10n/l10n_util.h b/ui/base/l10n/l10n_util.h |
index f073a29073051117b53600a918623d7f593e7117..7c26b80346714764111bdb1039333808b662eec3 100644 |
--- a/ui/base/l10n/l10n_util.h |
+++ b/ui/base/l10n/l10n_util.h |
@@ -32,6 +32,11 @@ namespace l10n_util { |
// we fall back to en-us. |
UI_EXPORT std::string GetApplicationLocale(const std::string& pref_locale); |
+// Returns true if a display name for |locale| is available in the locale |
+// |display_locale|. |
+UI_EXPORT bool IsLocaleNameTranslated(const char* locale, |
+ const std::string& display_locale); |
+ |
// Given a locale code, return true if the OS is capable of supporting it. |
// For instance, Oriya is not well supported on Windows XP and we return |
// false for "or". |