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

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: REBASE + rm gitmodules Created 6 years, 3 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
« no previous file with comments | « base/i18n/rtl.cc ('k') | ui/base/l10n/l10n_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/l10n/l10n_util.h
diff --git a/ui/base/l10n/l10n_util.h b/ui/base/l10n/l10n_util.h
index e2cb27d5c9c1efbc77315df8353ecf8c91b3e08d..d36407e88deeac08ffd863664e41383459a653e0 100644
--- a/ui/base/l10n/l10n_util.h
+++ b/ui/base/l10n/l10n_util.h
@@ -20,8 +20,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);
// Takes normalized locale as |locale|. Returns language part (before '-').
« no previous file with comments | « 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