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

Issue 269943004: Remove base version of GetCanonicalLocale() function. (Closed)

Created:
6 years, 7 months ago by tfarina
Modified:
5 years, 11 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org, jshin+watch_chromium.org
Visibility:
Public.

Description

Remove base version of GetCanonicalLocale() function. Instead have the GetCanonicalLocale() function from l10n_util call base::i18n::GetLocaleString(), which had to be exposed in the header, so it could be called from l10n_util. BUG=None TEST=None R=jshin@chromium.org,tony@chromium.org

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : U_DISABLE_RENAMING #

Total comments: 1

Patch Set 4 : don't forward #

Patch Set 5 : REBASE + rm gitmodules #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -37 lines) Patch
M base/i18n/rtl.h View 1 3 2 chunks +5 lines, -3 lines 0 comments Download
M base/i18n/rtl.cc View 1 2 3 2 chunks +22 lines, -30 lines 0 comments Download
M ui/base/l10n/l10n_util.h View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M ui/base/l10n/l10n_util.cc View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
tfarina
https://codereview.chromium.org/269943004/diff/1/base/i18n/rtl.h File base/i18n/rtl.h (right): https://codereview.chromium.org/269943004/diff/1/base/i18n/rtl.h#newcode14 base/i18n/rtl.h:14: #include "third_party/icu/source/common/unicode/locid.h" I was not able to do: namespace ...
6 years, 7 months ago (2014-05-05 17:54:32 UTC) #1
tony
Looks like a you need to add a dependency to base to get this to ...
6 years, 7 months ago (2014-05-05 18:06:09 UTC) #2
tfarina
On 2014/05/05 18:06:09, tony wrote: > Looks like a you need to add a dependency ...
6 years, 7 months ago (2014-05-05 18:40:39 UTC) #3
jungshik at Google
https://codereview.chromium.org/269943004/diff/1/base/i18n/rtl.h File base/i18n/rtl.h (right): https://codereview.chromium.org/269943004/diff/1/base/i18n/rtl.h#newcode14 base/i18n/rtl.h:14: #include "third_party/icu/source/common/unicode/locid.h" On 2014/05/05 17:54:32, tfarina wrote: > I ...
6 years, 7 months ago (2014-05-05 21:49:22 UTC) #4
jungshik at Google
On 2014/05/05 21:49:22, Jungshik Shin wrote: > https://codereview.chromium.org/269943004/diff/1/base/i18n/rtl.h > File base/i18n/rtl.h (right): > > https://codereview.chromium.org/269943004/diff/1/base/i18n/rtl.h#newcode14 ...
6 years, 7 months ago (2014-05-05 22:08:26 UTC) #5
tfarina
On 2014/05/05 22:08:26, Jungshik Shin wrote: > On 2014/05/05 21:49:22, Jungshik Shin wrote: > > ...
6 years, 7 months ago (2014-05-06 16:00:38 UTC) #6
tfarina
On 2014/05/06 16:00:38, tfarina wrote: > On 2014/05/05 22:08:26, Jungshik Shin wrote: > > On ...
6 years, 7 months ago (2014-05-07 04:14:46 UTC) #7
tfarina
Tony, Jungshik, while https://codereview.chromium.org/270603002 is on hold, can we go with including third_party/icu/source/common/unicode/locid.h in rtl.h ...
6 years, 7 months ago (2014-05-15 22:47:08 UTC) #8
tfarina
Ping. https://codereview.chromium.org/269943004/diff/30001/base/i18n/rtl.h File base/i18n/rtl.h (right): https://codereview.chromium.org/269943004/diff/30001/base/i18n/rtl.h#newcode15 base/i18n/rtl.h:15: namespace icu { forward declaring this namespace does ...
6 years, 3 months ago (2014-09-08 02:35:20 UTC) #9
tfarina
5 years, 11 months ago (2015-01-12 21:38:48 UTC) #10
I redo this in https://codereview.chromium.org/834183005/.

Closing this.

Powered by Google App Engine
This is Rietveld 408576698