Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(223)

Unified Diff: ui/base/l10n/l10n_util.h

Issue 269943004: Remove base version of GetCanonicalLocale() function. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: U_DISABLE_RENAMING Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/base/l10n/l10n_util.h
diff --git a/ui/base/l10n/l10n_util.h b/ui/base/l10n/l10n_util.h
index 5440b0d18a49358cdeda45dd99cf43df424037a2..c286ffc687919d664f9570c42469341fb0240faf 100644
--- a/ui/base/l10n/l10n_util.h
+++ b/ui/base/l10n/l10n_util.h
@@ -21,8 +21,7 @@
namespace l10n_util {
-// The same as base::i18n::GetCanonicalLocale(const char*), but takes
-// std::string as an argument.
+// Convert the ICU canonicalized locale to a string.
UI_BASE_EXPORT std::string GetCanonicalLocale(const std::string& locale);
// This method translates a generic locale name to one of the locally defined
« base/i18n/rtl.h ('K') | « base/i18n/rtl.cc ('k') | ui/base/l10n/l10n_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698