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

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

Issue 2691943005: fix quick unlock config in options (Closed)
Patch Set: rebase 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 95d404da14ba44b8d29f16ed1e2a524a4ceafa74..18aee51cd7eb78443fd1e4bf4e6c80905587f179 100644
--- a/chrome/browser/ui/webui/options/browser_options_handler.cc
+++ b/chrome/browser/ui/webui/options/browser_options_handler.cc
@@ -821,6 +821,8 @@ void BrowserOptionsHandler::GetLocalizedValues(base::DictionaryValue* values) {
chromeos::quick_unlock::IsPinEnabled(profile->GetPrefs()));
values->SetBoolean("fingerprintUnlockEnabled",
chromeos::quick_unlock::IsFingerprintEnabled());
+ values->SetBoolean("pinUnlockEnabled",
+ chromeos::quick_unlock::IsPinEnabled(profile->GetPrefs()));
if (chromeos::quick_unlock::IsPinEnabled(profile->GetPrefs())) {
values->SetString(
"enableScreenlock",

Powered by Google App Engine
This is Rietveld 408576698