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

Unified Diff: base/i18n/rtl.h

Issue 269943004: Remove base version of GetCanonicalLocale() function. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « no previous file | base/i18n/rtl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/i18n/rtl.h
diff --git a/base/i18n/rtl.h b/base/i18n/rtl.h
index aa5f6810a9b0a8f38b9870fbc862ec8313ccfa29..9094a2ff286cf81ab57f1956bf76b40268c6a286 100644
--- a/base/i18n/rtl.h
+++ b/base/i18n/rtl.h
@@ -11,6 +11,7 @@
#include "base/i18n/base_i18n_export.h"
#include "base/strings/string16.h"
#include "build/build_config.h"
+#include "third_party/icu/source/common/unicode/locid.h"
tfarina 2014/05/05 17:54:32 I was not able to do: namespace icu { class Local
jungshik at Google 2014/05/05 21:49:23 What happens if you try 'namespace icu46'? Not tha
namespace base {
@@ -34,14 +35,13 @@ enum TextDirection {
TEXT_DIRECTION_NUM_DIRECTIONS = 3,
};
+BASE_I18N_EXPORT std::string GetLocaleString(const icu::Locale& locale);
+
// Get the locale that the currently running process has been configured to use.
// The return value is of the form language[-country] (e.g., en-US) where the
// language is the 2 or 3 letter code from ISO-639.
BASE_I18N_EXPORT std::string GetConfiguredLocale();
-// Canonicalize a string (eg. a POSIX locale string) to a Chrome locale name.
-BASE_I18N_EXPORT std::string GetCanonicalLocale(const char* locale);
-
// Sets the default locale of ICU.
// Once the application locale of Chrome in GetApplicationLocale is determined,
// the default locale of ICU need to be changed to match the application locale
« no previous file with comments | « no previous file | base/i18n/rtl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698