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

Issue 2150763002: Enable PIN configuration settings. (Closed)

Created:
4 years, 5 months ago by jdufault
Modified:
4 years, 5 months ago
CC:
chromium-reviews, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, arv+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@lkgr
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable PIN configuration settings. BUG=603217 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation;master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/f9eeec1132cd9cf699523c79c36150b9b699eefb Cr-Commit-Position: refs/heads/master@{#407296}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add feature flag #

Patch Set 3 : Fix build #

Total comments: 1

Patch Set 4 : Rebase #

Patch Set 5 : Use feature flag instead #

Total comments: 4

Patch Set 6 : Rebase #

Patch Set 7 : Rename function, add enrollment check before allowing PIN #

Patch Set 8 : Rebase #

Total comments: 8

Patch Set 9 : Rebase #

Patch Set 10 : Nits and small refactor #

Patch Set 11 : Fix test #

Patch Set 12 : Fix tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -15 lines) Patch
M chrome/app/chromeos_strings.grdp View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/extensions/quick_unlock_private/quick_unlock_private_api_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/quick_unlock/pin_storage.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/login/quick_unlock/pin_storage.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/quick_unlock/pin_storage_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +5 lines, -1 line 0 comments Download
A chrome/browser/chromeos/login/quick_unlock/quick_unlock_utils.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +19 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/login/quick_unlock/quick_unlock_utils.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +38 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/people_page/people_page.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/people_page/people_page.js View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/settings/md_settings_ui.cc View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/chrome_browser_chromeos.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/common/chrome_features.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/chrome_features.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 78 (42 generated)
jdufault
Tommy, PTAL. This enables the button that lets users navigate to PIN settings.
4 years, 5 months ago (2016-07-13 22:21:54 UTC) #4
tommycli
https://codereview.chromium.org/2150763002/diff/1/chrome/browser/resources/settings/people_page/people_page.js File chrome/browser/resources/settings/people_page/people_page.js (right): https://codereview.chromium.org/2150763002/diff/1/chrome/browser/resources/settings/people_page/people_page.js#newcode70 chrome/browser/resources/settings/people_page/people_page.js:70: value: true, Can we delay this until we have ...
4 years, 5 months ago (2016-07-13 22:26:25 UTC) #5
jdufault
https://codereview.chromium.org/2150763002/diff/1/chrome/browser/resources/settings/people_page/people_page.js File chrome/browser/resources/settings/people_page/people_page.js (right): https://codereview.chromium.org/2150763002/diff/1/chrome/browser/resources/settings/people_page/people_page.js#newcode70 chrome/browser/resources/settings/people_page/people_page.js:70: value: true, On 2016/07/13 22:26:25, tommycli wrote: > Can ...
4 years, 5 months ago (2016-07-13 22:31:20 UTC) #6
tommycli
I'm going to ask dbeam@, the TL for MD Settings. If he's OK with it, ...
4 years, 5 months ago (2016-07-13 22:33:47 UTC) #8
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-16 00:24:33 UTC) #12
jdufault
I've switched over to using a feature flag, disabled by default. Policy will probably land ...
4 years, 5 months ago (2016-07-16 00:25:45 UTC) #13
jdufault
Also, browser tests are at https://codereview.chromium.org/2157673002/.
4 years, 5 months ago (2016-07-16 00:26:29 UTC) #14
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-18 19:03:35 UTC) #19
tommycli
I'm supportive of this runtime switch. https://codereview.chromium.org/2150763002/diff/40001/chromeos/chromeos_switches.h File chromeos/chromeos_switches.h (right): https://codereview.chromium.org/2150763002/diff/40001/chromeos/chromeos_switches.h#newcode77 chromeos/chromeos_switches.h:77: CHROMEOS_EXPORT extern const ...
4 years, 5 months ago (2016-07-18 21:01:28 UTC) #20
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-18 23:57:02 UTC) #25
jdufault
Ping
4 years, 5 months ago (2016-07-21 18:42:02 UTC) #28
tommycli
https://codereview.chromium.org/2150763002/diff/80001/chrome/browser/ui/webui/settings/chromeos/quick_unlock_handler.cc File chrome/browser/ui/webui/settings/chromeos/quick_unlock_handler.cc (right): https://codereview.chromium.org/2150763002/diff/80001/chrome/browser/ui/webui/settings/chromeos/quick_unlock_handler.cc#newcode16 chrome/browser/ui/webui/settings/chromeos/quick_unlock_handler.cc:16: static bool EnableQuickUnlockSettings() { IsQuickUnlockSettingsEnabled? https://codereview.chromium.org/2150763002/diff/80001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): ...
4 years, 5 months ago (2016-07-21 18:46:05 UTC) #29
Dan Beam
https://codereview.chromium.org/2150763002/diff/80001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2150763002/diff/80001/tools/metrics/histograms/histograms.xml#newcode81502 tools/metrics/histograms/histograms.xml:81502: + <int value="-1276912933" label="enable-quick-unlock-pin"/> On 2016/07/21 18:46:05, tommycli wrote: ...
4 years, 5 months ago (2016-07-21 19:07:13 UTC) #30
jdufault
I've also added an enrollment check so the PIN keyboard will not be shown on ...
4 years, 5 months ago (2016-07-21 19:44:26 UTC) #31
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-21 19:45:06 UTC) #34
tommycli
lgtm
4 years, 5 months ago (2016-07-21 20:02:13 UTC) #37
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-21 23:54:43 UTC) #42
jdufault
sky@, PTAL at c/c/chrome_features* achuith@, PTAL at c/b/c/l/q/pin_storage* Thanks!
4 years, 5 months ago (2016-07-21 23:55:53 UTC) #43
achuithb
On 2016/07/21 23:55:53, jdufault wrote: > sky@, PTAL at c/c/chrome_features* > > achuith@, PTAL at ...
4 years, 5 months ago (2016-07-22 01:09:38 UTC) #46
achuithb
lgtm with nits that I don't feel strongly about https://codereview.chromium.org/2150763002/diff/140001/chrome/browser/chromeos/login/quick_unlock/pin_storage.cc File chrome/browser/chromeos/login/quick_unlock/pin_storage.cc (right): https://codereview.chromium.org/2150763002/diff/140001/chrome/browser/chromeos/login/quick_unlock/pin_storage.cc#newcode21 chrome/browser/chromeos/login/quick_unlock/pin_storage.cc:21: ...
4 years, 5 months ago (2016-07-22 01:14:59 UTC) #47
Dan Beam
lgtm w/nit https://codereview.chromium.org/2150763002/diff/140001/chrome/browser/ui/webui/settings/chromeos/quick_unlock_handler.cc File chrome/browser/ui/webui/settings/chromeos/quick_unlock_handler.cc (right): https://codereview.chromium.org/2150763002/diff/140001/chrome/browser/ui/webui/settings/chromeos/quick_unlock_handler.cc#newcode34 chrome/browser/ui/webui/settings/chromeos/quick_unlock_handler.cc:34: html_source->AddBoolean("quickUnlockAllowed", IsQuickUnlockAllowed()); why is it better to ...
4 years, 5 months ago (2016-07-22 01:22:28 UTC) #48
achuithb
On 2016/07/22 01:14:59, achuithb wrote: > lgtm with nits that I don't feel strongly about ...
4 years, 5 months ago (2016-07-22 01:55:04 UTC) #49
sky
LGTM
4 years, 5 months ago (2016-07-22 16:38:28 UTC) #50
jdufault
https://codereview.chromium.org/2150763002/diff/140001/chrome/browser/chromeos/login/quick_unlock/pin_storage.cc File chrome/browser/chromeos/login/quick_unlock/pin_storage.cc (right): https://codereview.chromium.org/2150763002/diff/140001/chrome/browser/chromeos/login/quick_unlock/pin_storage.cc#newcode21 chrome/browser/chromeos/login/quick_unlock/pin_storage.cc:21: bool IsDisabledByPolicy() { On 2016/07/22 01:14:59, achuithb wrote: > ...
4 years, 5 months ago (2016-07-22 19:15:51 UTC) #51
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-22 19:16:49 UTC) #54
Dan Beam
lgtm
4 years, 5 months ago (2016-07-22 19:18:57 UTC) #55
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/2150763002/180001
4 years, 5 months ago (2016-07-22 19:32:28 UTC) #59
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-22 19:32:31 UTC) #60
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/223603)
4 years, 5 months ago (2016-07-22 19:40:37 UTC) #62
jdufault
isherman@ PTAL at histograms.xml
4 years, 5 months ago (2016-07-22 19:50:57 UTC) #64
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-22 20:48:04 UTC) #67
Ilya Sherman
histograms.xml lgtm
4 years, 5 months ago (2016-07-22 21:14:10 UTC) #68
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/2150763002/220001
4 years, 5 months ago (2016-07-22 22:15:39 UTC) #73
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-22 22:15:43 UTC) #74
commit-bot: I haz the power
Committed patchset #12 (id:220001)
4 years, 5 months ago (2016-07-22 23:27:44 UTC) #76
commit-bot: I haz the power
4 years, 5 months ago (2016-07-22 23:29:44 UTC) #78
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/f9eeec1132cd9cf699523c79c36150b9b699eefb
Cr-Commit-Position: refs/heads/master@{#407296}

Powered by Google App Engine
This is Rietveld 408576698