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

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

Issue 2728173002: Fix quick unlock config in options (Closed)
Patch Set: Remove polymer preload in options 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 e5810693ffdd89a457e3e79182ec3316126610a5..c71134709ef48ad52a130aa336bbd13a048d3884 100644
--- a/chrome/browser/ui/webui/options/browser_options_handler.cc
+++ b/chrome/browser/ui/webui/options/browser_options_handler.cc
@@ -814,6 +814,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",
« no previous file with comments | « chrome/browser/resources/settings/people_page/lock_screen.js ('k') | chrome/browser/ui/webui/options/options_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698