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

Issue 483523005: Default to current UI locale when recommended locales are invalid (Closed)

Created:
6 years, 4 months ago by bartfab (slow)
Modified:
6 years, 4 months ago
CC:
chromium-reviews, jshin+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Default to current UI locale when recommended locales are invalid If the recommended locales for a public session are invalid/unavailable, public sessions should default to the current UI language, not the locale that happens to be first in alphabetic order (Arabic for Chrome OS running in English). BUG=403550 TEST=Extended unit and browser tests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=291408

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addressed nit. #

Patch Set 3 : Fix code that was not actually working. #

Total comments: 2

Patch Set 4 : Addressed nit. #

Patch Set 5 : Fix unit tests. #

Patch Set 6 : Fix unit tests, for real this time. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -49 lines) Patch
M chrome/browser/chromeos/login/screens/chrome_user_selection_screen.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/screens/chrome_user_selection_screen.cc View 1 2 3 2 chunks +18 lines, -28 lines 0 comments Download
M chrome/browser/chromeos/login/screens/user_selection_screen.cc View 1 3 chunks +21 lines, -19 lines 0 comments Download
M chrome/browser/chromeos/policy/device_local_account_browsertest.cc View 1 2 chunks +46 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/l10n_util.h View 1 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/l10n_util.cc View 1 2 2 chunks +27 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/chromeos/login/l10n_util_unittest.cc View 1 2 3 4 5 1 chunk +33 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
bartfab (slow)
Hi Pavel, Could you review please? Hi Philipp, Could you take a look at device_local_account_browsertest.cc ...
6 years, 4 months ago (2014-08-19 16:34:30 UTC) #1
dzhioev (left Google)
LGTM with nits https://codereview.chromium.org/483523005/diff/1/chrome/browser/chromeos/login/screens/chrome_user_selection_screen.cc File chrome/browser/chromeos/login/screens/chrome_user_selection_screen.cc (left): https://codereview.chromium.org/483523005/diff/1/chrome/browser/chromeos/login/screens/chrome_user_selection_screen.cc#oldcode140 chrome/browser/chromeos/login/screens/chrome_user_selection_screen.cc:140: } Nothing will change if you ...
6 years, 4 months ago (2014-08-20 17:00:24 UTC) #2
bartfab (slow)
https://codereview.chromium.org/483523005/diff/1/chrome/browser/chromeos/login/screens/chrome_user_selection_screen.cc File chrome/browser/chromeos/login/screens/chrome_user_selection_screen.cc (left): https://codereview.chromium.org/483523005/diff/1/chrome/browser/chromeos/login/screens/chrome_user_selection_screen.cc#oldcode140 chrome/browser/chromeos/login/screens/chrome_user_selection_screen.cc:140: } On 2014/08/20 17:00:24, dzhioev wrote: > Nothing will ...
6 years, 4 months ago (2014-08-20 18:40:06 UTC) #3
dzhioev (left Google)
https://codereview.chromium.org/483523005/diff/1/chrome/browser/chromeos/login/screens/chrome_user_selection_screen.cc File chrome/browser/chromeos/login/screens/chrome_user_selection_screen.cc (left): https://codereview.chromium.org/483523005/diff/1/chrome/browser/chromeos/login/screens/chrome_user_selection_screen.cc#oldcode140 chrome/browser/chromeos/login/screens/chrome_user_selection_screen.cc:140: } On 2014/08/20 18:40:05, bartfab wrote: > On 2014/08/20 ...
6 years, 4 months ago (2014-08-20 19:26:36 UTC) #4
pneubeck (no reviews)
lgtm with a question https://codereview.chromium.org/483523005/diff/40001/chrome/browser/chromeos/policy/device_local_account_browsertest.cc File chrome/browser/chromeos/policy/device_local_account_browsertest.cc (right): https://codereview.chromium.org/483523005/diff/40001/chrome/browser/chromeos/policy/device_local_account_browsertest.cc#newcode1763 chrome/browser/chromeos/policy/device_local_account_browsertest.cc:1763: // Click on the pod ...
6 years, 4 months ago (2014-08-21 07:29:15 UTC) #5
bartfab (slow)
https://codereview.chromium.org/483523005/diff/40001/chrome/browser/chromeos/policy/device_local_account_browsertest.cc File chrome/browser/chromeos/policy/device_local_account_browsertest.cc (right): https://codereview.chromium.org/483523005/diff/40001/chrome/browser/chromeos/policy/device_local_account_browsertest.cc#newcode1763 chrome/browser/chromeos/policy/device_local_account_browsertest.cc:1763: // Click on the pod to expand it. Verify ...
6 years, 4 months ago (2014-08-21 09:03:33 UTC) #6
bartfab (slow)
https://codereview.chromium.org/483523005/diff/1/chrome/browser/chromeos/login/screens/chrome_user_selection_screen.cc File chrome/browser/chromeos/login/screens/chrome_user_selection_screen.cc (left): https://codereview.chromium.org/483523005/diff/1/chrome/browser/chromeos/login/screens/chrome_user_selection_screen.cc#oldcode140 chrome/browser/chromeos/login/screens/chrome_user_selection_screen.cc:140: } On 2014/08/20 19:26:35, dzhioev wrote: > On 2014/08/20 ...
6 years, 4 months ago (2014-08-21 12:14:42 UTC) #7
bartfab (slow)
The CQ bit was checked by bartfab@chromium.org
6 years, 4 months ago (2014-08-21 12:15:19 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bartfab@chromium.org/483523005/60001
6 years, 4 months ago (2014-08-21 12:16:23 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-21 18:06:30 UTC) #10
bartfab (slow)
The CQ bit was checked by bartfab@chromium.org
6 years, 4 months ago (2014-08-21 18:11:26 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bartfab@chromium.org/483523005/80001
6 years, 4 months ago (2014-08-21 18:14:01 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_chromium_gn_compile_rel on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-21 21:29:23 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-21 22:19:40 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_swarming/builds/6734)
6 years, 4 months ago (2014-08-21 22:19:41 UTC) #15
bartfab (slow)
The CQ bit was checked by bartfab@chromium.org
6 years, 4 months ago (2014-08-22 12:49:14 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bartfab@chromium.org/483523005/100001
6 years, 4 months ago (2014-08-22 12:50:16 UTC) #17
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_chromium_gn_compile_rel on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-22 13:42:54 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-22 13:46:57 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/8527)
6 years, 4 months ago (2014-08-22 13:46:58 UTC) #20
bartfab (slow)
The CQ bit was checked by bartfab@chromium.org
6 years, 4 months ago (2014-08-22 15:12:48 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bartfab@chromium.org/483523005/100001
6 years, 4 months ago (2014-08-22 15:13:41 UTC) #22
commit-bot: I haz the power
6 years, 4 months ago (2014-08-22 15:25:21 UTC) #23
Message was sent while issue was closed.
Committed patchset #6 (100001) as 291408

Powered by Google App Engine
This is Rietveld 408576698