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

Issue 144363006: Expand VPD initial_locale to a list of locales. Use the expanded VPD initial_locale on the OOBE. (Closed)

Created:
6 years, 10 months ago by Alexander Alekseev
Modified:
6 years, 10 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, nona+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, nkostylev+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Expand VPD initial_locale to a list of locales. Use the expanded VPD initial_locale on the OOBE. Let's have device "most relevant" locales to be the first ones in the list of locales at OOBE. To store "most relevant" list we expand VPD initial_locale to contain list of locales. BUG=334495, 334509 TEST=manual Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=248241

Patch Set 1 #

Patch Set 2 : Implement options group in language select. Fix unittest. #

Total comments: 6

Patch Set 3 : Update after review. #

Total comments: 18

Patch Set 4 : Fixed reviewers' comments, created unittest. #

Patch Set 5 : Added missing include. #

Patch Set 6 : Unittests added. #

Total comments: 14

Patch Set 7 : After-review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+288 lines, -20 lines) Patch
M chrome/app/chromeos_strings.grdp View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/customization_document.h View 1 2 3 4 5 6 6 chunks +17 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/customization_document.cc View 2 chunks +17 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/customization_document_unittest.cc View 1 2 3 4 5 6 2 chunks +36 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/login_display_host_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/chromeos/login/oobe.js View 1 1 chunk +13 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc View 1 2 3 4 5 6 2 chunks +9 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.h View 1 2 3 4 5 6 4 chunks +16 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc View 1 2 3 4 5 6 9 chunks +80 lines, -10 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/cros_language_options_handler_unittest.cc View 1 2 3 4 5 6 6 chunks +96 lines, -3 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
Alexander Alekseev
6 years, 10 months ago (2014-01-28 12:59:12 UTC) #1
Alexander Alekseev
As a side-effest, Accept-Language header will also be sorted according to VPD.
6 years, 10 months ago (2014-01-28 13:15:49 UTC) #2
Nikita (slow)
On 2014/01/28 13:15:49, alemate wrote: > As a side-effest, Accept-Language header will also be sorted ...
6 years, 10 months ago (2014-01-28 14:30:45 UTC) #3
Alexander Alekseev
I've added OptGroup to language Select element. And fixed unittest. Please review.
6 years, 10 months ago (2014-01-28 16:47:57 UTC) #4
Dmitry Polukhin
lgtm https://codereview.chromium.org/144363006/diff/20001/chrome/app/chromeos_strings.grdp File chrome/app/chromeos_strings.grdp (right): https://codereview.chromium.org/144363006/diff/20001/chrome/app/chromeos_strings.grdp#newcode344 chrome/app/chromeos_strings.grdp:344: <message name="IDS_OTHER_LANGUAGES" desc="Option group name dividing vendor-configured languages ...
6 years, 10 months ago (2014-01-28 19:40:29 UTC) #5
Alexander Alekseev
https://codereview.chromium.org/144363006/diff/20001/chrome/app/chromeos_strings.grdp File chrome/app/chromeos_strings.grdp (right): https://codereview.chromium.org/144363006/diff/20001/chrome/app/chromeos_strings.grdp#newcode344 chrome/app/chromeos_strings.grdp:344: <message name="IDS_OTHER_LANGUAGES" desc="Option group name dividing vendor-configured languages from ...
6 years, 10 months ago (2014-01-29 15:38:59 UTC) #6
Dmitry Polukhin
lgtm
6 years, 10 months ago (2014-01-29 16:17:27 UTC) #7
Nikita (slow)
Please add tests for new functionality in StartupCustomizationDocument CrosLanguageOptionsHandler::GetLanguageListInternal https://codereview.chromium.org/144363006/diff/40001/chrome/app/chromeos_strings.grdp File chrome/app/chromeos_strings.grdp (right): https://codereview.chromium.org/144363006/diff/40001/chrome/app/chromeos_strings.grdp#newcode344 chrome/app/chromeos_strings.grdp:344: ...
6 years, 10 months ago (2014-01-30 13:23:27 UTC) #8
Alexander Alekseev
Please review. https://codereview.chromium.org/144363006/diff/40001/chrome/app/chromeos_strings.grdp File chrome/app/chromeos_strings.grdp (right): https://codereview.chromium.org/144363006/diff/40001/chrome/app/chromeos_strings.grdp#newcode344 chrome/app/chromeos_strings.grdp:344: <message name="IDS_OOBE_OTHER_LANGUAGES" desc="Option group name dividing vendor-configured ...
6 years, 10 months ago (2014-01-31 12:46:53 UTC) #9
Nikita (slow)
lgtm with nits https://codereview.chromium.org/144363006/diff/100001/chrome/browser/chromeos/customization_document.h File chrome/browser/chromeos/customization_document.h (right): https://codereview.chromium.org/144363006/diff/100001/chrome/browser/chromeos/customization_document.h#newcode32 chrome/browser/chromeos/customization_document.h:32: class CrosLanguageOptionsHandlerTest_GetUILanguageListMulti_Test; As discussed, these should ...
6 years, 10 months ago (2014-01-31 15:47:20 UTC) #10
Dmitry Polukhin
lgtm https://codereview.chromium.org/144363006/diff/100001/chrome/browser/ui/webui/options/chromeos/cros_language_options_handler_unittest.cc File chrome/browser/ui/webui/options/chromeos/cros_language_options_handler_unittest.cc (right): https://codereview.chromium.org/144363006/diff/100001/chrome/browser/ui/webui/options/chromeos/cros_language_options_handler_unittest.cc#newcode205 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler_unittest.cc:205: EXPECT_GT(list->GetSize(), (size_t)5); On 2014/01/31 15:47:20, Nikita Kostylev wrote: ...
6 years, 10 months ago (2014-01-31 17:04:40 UTC) #11
Alexander Alekseev
I'll commit this. https://codereview.chromium.org/144363006/diff/100001/chrome/browser/chromeos/customization_document.h File chrome/browser/chromeos/customization_document.h (right): https://codereview.chromium.org/144363006/diff/100001/chrome/browser/chromeos/customization_document.h#newcode32 chrome/browser/chromeos/customization_document.h:32: class CrosLanguageOptionsHandlerTest_GetUILanguageListMulti_Test; On 2014/01/31 15:47:20, Nikita ...
6 years, 10 months ago (2014-01-31 17:20:59 UTC) #12
Alexander Alekseev
The CQ bit was checked by alemate@chromium.org
6 years, 10 months ago (2014-01-31 17:21:11 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alemate@chromium.org/144363006/270001
6 years, 10 months ago (2014-01-31 17:21:24 UTC) #14
commit-bot: I haz the power
Change committed as 248241
6 years, 10 months ago (2014-01-31 19:24:19 UTC) #15
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-01-31 19:24:24 UTC) #16
commit-bot: I haz the power
6 years, 10 months ago (2014-01-31 19:24:27 UTC) #17
Message was sent while issue was closed.
CQ bit was unchecked on CL. Ignoring.

Powered by Google App Engine
This is Rietveld 408576698