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
Tommy, PTAL. This enables the button that lets users navigate to PIN settings.
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
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
https://codereview.chromium.org/2150763002/diff/1/chrome/browser/resources/se...
File chrome/browser/resources/settings/people_page/people_page.js (right):
https://codereview.chromium.org/2150763002/diff/1/chrome/browser/resources/se...
chrome/browser/resources/settings/people_page/people_page.js:70: value: true,
On 2016/07/13 22:26:25, tommycli wrote:
> Can we delay this until we have browser tests?
PMs/others want to be able to test out the flow ASAP so UX adjustments can be
made.
> Also - it would be best if we just got the real value instead of changing it
> from a false constant to a true constant.
Policy is probably going to take a few weeks to land.
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
Your CL relies on deprecated CQ feature(s):
* Specifying master names in CQ_INCLUDE_TRYBOTS part of description without
"master." prefix is deprecated:
tryserver.chromium.linux
For more details, see http://crbug.com/617627.
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
I've switched over to using a feature flag, disabled by default. Policy will
probably land post-m54 so right now quick unlock is disabled if the device is
enterprise enrolled.
jdufault
Also, browser tests are at https://codereview.chromium.org/2157673002/.
4 years, 5 months ago
(2016-07-16 00:26:29 UTC)
#14
Dry run: Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_daisy_chromium_compile_only_ng/builds/168807) chromeos_x86-generic_chromium_compile_only_ng on ...
4 years, 5 months ago
(2016-07-16 00:41:37 UTC)
#16
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
Your CL relies on deprecated CQ feature(s):
* Specifying master names in CQ_INCLUDE_TRYBOTS part of description without
"master." prefix is deprecated:
tryserver.chromium.linux
For more details, see http://crbug.com/617627.
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
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
Your CL relies on deprecated CQ feature(s):
* Specifying master names in CQ_INCLUDE_TRYBOTS part of description without
"master." prefix is deprecated:
tryserver.chromium.linux
For more details, see http://crbug.com/617627.
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
4 years, 5 months ago
(2016-07-19 01:56:01 UTC)
#26
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
I've also added an enrollment check so the PIN keyboard will not be shown on the
lock screen even if the user has enabled it by manually going to
chrome://md-settings/quickUnlock/
https://codereview.chromium.org/2150763002/diff/80001/chrome/browser/ui/webui...
File chrome/browser/ui/webui/settings/chromeos/quick_unlock_handler.cc (right):
https://codereview.chromium.org/2150763002/diff/80001/chrome/browser/ui/webui...
chrome/browser/ui/webui/settings/chromeos/quick_unlock_handler.cc:16: static
bool EnableQuickUnlockSettings() {
On 2016/07/21 18:46:05, tommycli wrote:
> IsQuickUnlockSettingsEnabled?
Changed to IsQuickUnlockAllowed to mirror quickUnlockAllowed string name.
jdufault
The CQ bit was checked by jdufault@chromium.org to run a CQ dry run
4 years, 5 months ago
(2016-07-21 19:44:33 UTC)
#32
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
Your CL relies on deprecated CQ feature(s):
* Specifying master names in CQ_INCLUDE_TRYBOTS part of description without
"master." prefix is deprecated:
tryserver.chromium.linux
For more details, see http://crbug.com/617627.
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
4 years, 5 months ago
(2016-07-21 19:47:27 UTC)
#35
Dry run: Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/39391) ios-device-gn on ...
4 years, 5 months ago
(2016-07-21 19:47:28 UTC)
#36
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
Your CL relies on deprecated CQ feature(s):
* Specifying master names in CQ_INCLUDE_TRYBOTS part of description without
"master." prefix is deprecated:
tryserver.chromium.linux
For more details, see http://crbug.com/617627.
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
sky@, PTAL at c/c/chrome_features*
achuith@, PTAL at c/b/c/l/q/pin_storage*
Thanks!
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
4 years, 5 months ago
(2016-07-21 23:57:03 UTC)
#44
Dry run: Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/39583) ios-device-gn on ...
4 years, 5 months ago
(2016-07-21 23:57:04 UTC)
#45
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
On 2016/07/21 23:55:53, jdufault wrote:
> sky@, PTAL at c/c/chrome_features*
>
> achuith@, PTAL at c/b/c/l/q/pin_storage*
>
> Thanks!
Looks like you need to rebase
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
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
On 2016/07/22 01:14:59, achuithb wrote:
> lgtm with nits that I don't feel strongly about
>
>
https://codereview.chromium.org/2150763002/diff/140001/chrome/browser/chromeo...
> File chrome/browser/chromeos/login/quick_unlock/pin_storage.cc (right):
>
>
https://codereview.chromium.org/2150763002/diff/140001/chrome/browser/chromeo...
> chrome/browser/chromeos/login/quick_unlock/pin_storage.cc:21: bool
> IsDisabledByPolicy() {
> Maybe move this to after ComputeSecret? I think kSaltByteSize needs to be at
the
> top.
>
> Also IsAllowedByPolicy makes the condition below more readable imo.
>
>
https://codereview.chromium.org/2150763002/diff/140001/chrome/browser/chromeo...
> chrome/browser/chromeos/login/quick_unlock/pin_storage.cc:22: //
TODO(jdufault):
> Implement a proper policy check. For now, just disable if
> file a bug?
>
>
https://codereview.chromium.org/2150763002/diff/140001/chrome/browser/chromeo...
> chrome/browser/chromeos/login/quick_unlock/pin_storage.cc:117: return
> !IsDisabledByPolicy() && IsPinSet() &&
> I think booleans like
> const bool exceeded_unlock_attempts = unlock_attempt_count() >=
> kMaximiumUnlockAttempts;
> const bool exceeded_strong_auth_timeout = TimeStringLastStrongAuth() >
> kStrongAuthTimeout;
>
> would make this statement more readable.
I only looked at this one file
sky
LGTM
4 years, 5 months ago
(2016-07-22 16:38:28 UTC)
#50
4 years, 5 months ago
(2016-07-22 19:15:51 UTC)
#51
https://codereview.chromium.org/2150763002/diff/140001/chrome/browser/chromeo...
File chrome/browser/chromeos/login/quick_unlock/pin_storage.cc (right):
https://codereview.chromium.org/2150763002/diff/140001/chrome/browser/chromeo...
chrome/browser/chromeos/login/quick_unlock/pin_storage.cc:21: bool
IsDisabledByPolicy() {
On 2016/07/22 01:14:59, achuithb wrote:
> Maybe move this to after ComputeSecret? I think kSaltByteSize needs to be at
the
> top.
>
> Also IsAllowedByPolicy makes the condition below more readable imo.
Done, moved into another file.
https://codereview.chromium.org/2150763002/diff/140001/chrome/browser/chromeo...
chrome/browser/chromeos/login/quick_unlock/pin_storage.cc:22: // TODO(jdufault):
Implement a proper policy check. For now, just disable if
On 2016/07/22 01:14:59, achuithb wrote:
> file a bug?
Done.
https://codereview.chromium.org/2150763002/diff/140001/chrome/browser/chromeo...
chrome/browser/chromeos/login/quick_unlock/pin_storage.cc:117: return
!IsDisabledByPolicy() && IsPinSet() &&
On 2016/07/22 01:14:59, achuithb wrote:
> I think booleans like
> const bool exceeded_unlock_attempts = unlock_attempt_count() >=
> kMaximiumUnlockAttempts;
> const bool exceeded_strong_auth_timeout = TimeStringLastStrongAuth() >
> kStrongAuthTimeout;
>
> would make this statement more readable.
Done.
https://codereview.chromium.org/2150763002/diff/140001/chrome/browser/ui/webu...
File chrome/browser/ui/webui/settings/chromeos/quick_unlock_handler.cc (right):
https://codereview.chromium.org/2150763002/diff/140001/chrome/browser/ui/webu...
chrome/browser/ui/webui/settings/chromeos/quick_unlock_handler.cc:34:
html_source->AddBoolean("quickUnlockAllowed", IsQuickUnlockAllowed());
On 2016/07/22 01:22:28, Dan Beam wrote:
> why is it better to have this key ("quickUnlockAllowed") here? why not just
> inline this statement from the calling side?
I've inlined the html_source->AddBoolean into md_settings_ui.cc and pulled
IsQuickUnlockEnabled into a new file quick_unlock_utils.h/cc that is also used
by PinStorage.
jdufault
The CQ bit was checked by jdufault@chromium.org to run a CQ dry run
4 years, 5 months ago
(2016-07-22 19:15:54 UTC)
#52
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
Your CL relies on deprecated CQ feature(s):
* Specifying master names in CQ_INCLUDE_TRYBOTS part of description without
"master." prefix is deprecated:
tryserver.chromium.linux
For more details, see http://crbug.com/617627.
Dan Beam
lgtm
4 years, 5 months ago
(2016-07-22 19:18:57 UTC)
#55
lgtm
jdufault
The CQ bit was unchecked by jdufault@chromium.org
4 years, 5 months ago
(2016-07-22 19:19:25 UTC)
#56
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
Your CL relies on deprecated CQ feature(s):
* Specifying master names in CQ_INCLUDE_TRYBOTS part of description without
"master." prefix is deprecated:
tryserver.chromium.linux
For more details, see http://crbug.com/617627.
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
4 years, 5 months ago
(2016-07-22 19:40:35 UTC)
#61
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
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
Your CL relies on deprecated CQ feature(s):
* Specifying master names in CQ_INCLUDE_TRYBOTS part of description without
"master." prefix is deprecated:
tryserver.chromium.linux
For more details, see http://crbug.com/617627.
Ilya Sherman
histograms.xml lgtm
4 years, 5 months ago
(2016-07-22 21:14:10 UTC)
#68
histograms.xml lgtm
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
4 years, 5 months ago
(2016-07-22 21:39:30 UTC)
#69
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/206268)
4 years, 5 months ago
(2016-07-22 21:39:32 UTC)
#70
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
Your CL relies on deprecated CQ feature(s):
* Specifying master names in CQ_INCLUDE_TRYBOTS part of description without
"master." prefix is deprecated:
tryserver.chromium.linux
For more details, see http://crbug.com/617627.
commit-bot: I haz the power
Description was changed from ========== Enable PIN configuration settings. BUG=603217 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation;master.tryserver.chromium.linux:closure_compilation ========== to ========== Enable ...
4 years, 5 months ago
(2016-07-22 23:27:42 UTC)
#75
Message was sent while issue was closed.
Description was changed from
==========
Enable PIN configuration settings.
BUG=603217
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation;master.tryserver.chromium.linux:closure_compilation
==========
to
==========
Enable PIN configuration settings.
BUG=603217
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation;master.tryserver.chromium.linux:closure_compilation
==========
commit-bot: I haz the power
Committed patchset #12 (id:220001)
4 years, 5 months ago
(2016-07-22 23:27:44 UTC)
#76
Message was sent while issue was closed.
Committed patchset #12 (id:220001)
commit-bot: I haz the power
Description was changed from ========== Enable PIN configuration settings. BUG=603217 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation;master.tryserver.chromium.linux:closure_compilation ========== to ========== Enable ...
4 years, 5 months ago
(2016-07-22 23:29:41 UTC)
#77
Message was sent while issue was closed.
Description was changed from
==========
Enable PIN configuration settings.
BUG=603217
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation;master.tryserver.chromium.linux:closure_compilation
==========
to
==========
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}
==========
commit-bot: I haz the power
Patchset 12 (id:??) landed as https://crrev.com/f9eeec1132cd9cf699523c79c36150b9b699eefb Cr-Commit-Position: refs/heads/master@{#407296}
4 years, 5 months ago
(2016-07-22 23:29:44 UTC)
#78
Issue 2150763002: Enable PIN configuration settings.
(Closed)
Created 4 years, 5 months ago by jdufault
Modified 4 years, 5 months ago
Reviewers: tommycli, Dan Beam, sky, achuithb, Ilya Sherman
Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Comments: 15