Upstream version 7.35.139.0
[platform/framework/web/crosswalk.git] / src / ui / base / l10n / l10n_util.h
index 4eb6d58..5440b0d 100644 (file)
 
 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,