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

Unified Diff: chrome/browser/ui/webui/options/browser_options_handler.cc

Issue 2691943005: fix quick unlock config in options (Closed)
Patch Set: set timeout Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/options/browser_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/browser_options_handler.cc b/chrome/browser/ui/webui/options/browser_options_handler.cc
index 9143cf10d9ea91d3ce7264b81bd01a4a51312cb9..8f050d75c08b2e727395a069090f63d299bc6ff2 100644
--- a/chrome/browser/ui/webui/options/browser_options_handler.cc
+++ b/chrome/browser/ui/webui/options/browser_options_handler.cc
@@ -819,6 +819,8 @@ void BrowserOptionsHandler::GetLocalizedValues(base::DictionaryValue* values) {
chromeos::IsPinUnlockEnabled(profile->GetPrefs()));
values->SetBoolean("fingerprintUnlockEnabled",
chromeos::IsFingerprintUnlockEnabled());
+ values->SetBoolean("pinUnlockEnabled",
+ chromeos::IsPinUnlockEnabled(profile->GetPrefs()));
if (chromeos::IsPinUnlockEnabled(profile->GetPrefs())) {
values->SetString(
"enableScreenlock",

Powered by Google App Engine
This is Rietveld 408576698