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

Issue 2856683002: cros: Replace "TPM" with "secure module" for machines without TPM. (Closed)

Created:
3 years, 7 months ago by sammiequon
Modified:
3 years, 7 months ago
Reviewers:
apronin1, apronin, xiyuan
CC:
chromium-reviews, pam+watch_chromium.org, alemate+watch_chromium.org, achuith+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

cros: Replace "TPM" with "secure module" for machines without TPM. The new reef devices have a chip that is not a TPM so for these we do not want to display TPM strings. For now duplicate the strings since we need to merge to M58 & M59, but a follow up CL should use placeholders in the strings. There are two locations, adding supervised user and OOBE EULA screen. TEST=manual BUG=716671 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2856683002 Cr-Commit-Position: refs/heads/master@{#469826} Committed: https://chromium.googlesource.com/chromium/src/+/6dfb54fcb774508b6679b8d83f0d935232b3a450

Patch Set 1 #

Total comments: 10

Patch Set 2 : Patch set 1 fixes. #

Total comments: 6

Patch Set 3 : Use IO thread to check files. #

Total comments: 9

Patch Set 4 : Fixed patch set 4 errors. #

Patch Set 5 : Fix tests and rebase. #

Patch Set 6 : Removed unneeded includes. #

Patch Set 7 : Nits. #

Patch Set 8 : Suffixed chromeos for chromeos compiling of secure_module_*. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+193 lines, -13 lines) Patch
M chrome/app/chromeos_strings.grdp View 1 2 3 4 2 chunks +27 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/screens/core_oobe_view.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/login/supervised/supervised_user_creation_screen.h View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/supervised/supervised_user_creation_screen.cc View 1 2 3 4 5 2 chunks +34 lines, -7 lines 0 comments Download
M chrome/browser/resources/chromeos/login/lock.js View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/login/login.js View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/login/md_login.js View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/login/oobe.js View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/eula_screen_handler.h View 1 2 3 4 5 6 7 3 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/eula_screen_handler.cc View 1 2 3 4 5 3 chunks +27 lines, -5 lines 0 comments Download
M components/login/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
A components/login/secure_module_util_chromeos.h View 1 2 3 4 5 6 7 1 chunk +29 lines, -0 lines 0 comments Download
A components/login/secure_module_util_chromeos.cc View 1 2 3 4 5 6 7 1 chunk +48 lines, -0 lines 0 comments Download

Messages

Total messages: 66 (49 generated)
sammiequon
achuithb@, apronin@ - Please take a look. Thanks!
3 years, 7 months ago (2017-05-02 16:20:28 UTC) #13
apronin
The file-checking logic is correct, but I have a comment about proper function naming, and ...
3 years, 7 months ago (2017-05-02 16:43:39 UTC) #14
sammiequon
https://codereview.chromium.org/2856683002/diff/20001/chrome/app/chromeos_strings.grdp File chrome/app/chromeos_strings.grdp (right): https://codereview.chromium.org/2856683002/diff/20001/chrome/app/chromeos_strings.grdp#newcode3528 chrome/app/chromeos_strings.grdp:3528: Your computer contains a secure module security device, which ...
3 years, 7 months ago (2017-05-02 17:27:23 UTC) #16
apronin1
lgtm https://codereview.chromium.org/2856683002/diff/20001/chrome/app/chromeos_strings.grdp File chrome/app/chromeos_strings.grdp (right): https://codereview.chromium.org/2856683002/diff/20001/chrome/app/chromeos_strings.grdp#newcode3543 chrome/app/chromeos_strings.grdp:3543: Secure module chip is disabled or absent. > ...
3 years, 7 months ago (2017-05-02 18:18:38 UTC) #18
sammiequon
Thanks! Achuith, could you take a look? Thanks! https://codereview.chromium.org/2856683002/diff/20001/chrome/app/chromeos_strings.grdp File chrome/app/chromeos_strings.grdp (right): https://codereview.chromium.org/2856683002/diff/20001/chrome/app/chromeos_strings.grdp#newcode3543 chrome/app/chromeos_strings.grdp:3543: Secure ...
3 years, 7 months ago (2017-05-02 18:27:45 UTC) #19
sammiequon
-achuithb@, +xiyuan@ Achuith is OOO. Xiyuan, could you take a look? Thanks!
3 years, 7 months ago (2017-05-03 00:04:47 UTC) #21
xiyuan
https://codereview.chromium.org/2856683002/diff/60001/chrome/app/chromeos_strings.grdp File chrome/app/chromeos_strings.grdp (right): https://codereview.chromium.org/2856683002/diff/60001/chrome/app/chromeos_strings.grdp#newcode3527 chrome/app/chromeos_strings.grdp:3527: <message name="IDS_EULA_SECURE_MODULE_DESCRIPTION" desc="Dialog box text"> "desc" are the only ...
3 years, 7 months ago (2017-05-03 04:06:50 UTC) #22
sammiequon
https://codereview.chromium.org/2856683002/diff/60001/chrome/app/chromeos_strings.grdp File chrome/app/chromeos_strings.grdp (right): https://codereview.chromium.org/2856683002/diff/60001/chrome/app/chromeos_strings.grdp#newcode3527 chrome/app/chromeos_strings.grdp:3527: <message name="IDS_EULA_SECURE_MODULE_DESCRIPTION" desc="Dialog box text"> On 2017/05/03 04:06:49, xiyuan ...
3 years, 7 months ago (2017-05-04 16:04:47 UTC) #28
xiyuan
https://codereview.chromium.org/2856683002/diff/100001/chrome/browser/chromeos/login/supervised/supervised_user_creation_screen.cc File chrome/browser/chromeos/login/supervised/supervised_user_creation_screen.cc (right): https://codereview.chromium.org/2856683002/diff/100001/chrome/browser/chromeos/login/supervised/supervised_user_creation_screen.cc#newcode415 chrome/browser/chromeos/login/supervised/supervised_user_creation_screen.cc:415: ::login::SecureModuleUsed::UNQUERIED) { Can we hide this inside the QuerySecureModuleUsed? ...
3 years, 7 months ago (2017-05-04 18:26:36 UTC) #29
sammiequon
https://codereview.chromium.org/2856683002/diff/100001/chrome/browser/chromeos/login/supervised/supervised_user_creation_screen.cc File chrome/browser/chromeos/login/supervised/supervised_user_creation_screen.cc (right): https://codereview.chromium.org/2856683002/diff/100001/chrome/browser/chromeos/login/supervised/supervised_user_creation_screen.cc#newcode415 chrome/browser/chromeos/login/supervised/supervised_user_creation_screen.cc:415: ::login::SecureModuleUsed::UNQUERIED) { On 2017/05/04 18:26:35, xiyuan wrote: > Can ...
3 years, 7 months ago (2017-05-04 22:30:42 UTC) #31
xiyuan
lgtm Thanks.
3 years, 7 months ago (2017-05-04 22:59:35 UTC) #32
sammiequon
On 2017/05/04 22:59:35, xiyuan wrote: > lgtm > > Thanks. Thanks!
3 years, 7 months ago (2017-05-04 23:13:54 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2856683002/120001
3 years, 7 months ago (2017-05-04 23:15:46 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/builds/207968)
3 years, 7 months ago (2017-05-04 23:57:28 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2856683002/180001
3 years, 7 months ago (2017-05-05 17:53:16 UTC) #54
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2856683002/210001
3 years, 7 months ago (2017-05-05 21:42:28 UTC) #63
commit-bot: I haz the power
3 years, 7 months ago (2017-05-06 00:24:15 UTC) #66
Message was sent while issue was closed.
Committed patchset #8 (id:210001) as
https://chromium.googlesource.com/chromium/src/+/6dfb54fcb774508b6679b8d83f0d...

Powered by Google App Engine
This is Rietveld 408576698