Index: ui/base/l10n/l10n_util.h |
diff --git a/ui/base/l10n/l10n_util.h b/ui/base/l10n/l10n_util.h |
index 4eb6d58114f5a235e64b9a725a6fbd02e19352c9..7ed51a325e6ca6749662f60a31d275880c93cd23 100644 |
--- a/ui/base/l10n/l10n_util.h |
+++ b/ui/base/l10n/l10n_util.h |
@@ -21,6 +21,10 @@ |
namespace l10n_util { |
+// The same as base::i18n::GetCanonicalLocale(const char*), but takes |
+// std::string as an argument. |
+std::string GetCanonicalLocale(const std::string& locale); |
+ |
// This method translates a generic locale name to one of the locally defined |
// ones. This method returns true if it succeeds. |
UI_BASE_EXPORT bool CheckAndResolveLocale(const std::string& locale, |