Index: ui/base/l10n/l10n_util.h |
diff --git a/ui/base/l10n/l10n_util.h b/ui/base/l10n/l10n_util.h |
index 21ca83a3b18083ab9973cd38c538317b55d160ef..dda9890c534453c6b250285083ee6433b81a041c 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". |