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..5440b0d18a49358cdeda45dd99cf43df424037a2 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. |
+UI_BASE_EXPORT 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, |