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

Unified Diff: chrome/browser/ui/webui/settings/md_settings_ui.cc

Issue 2387253002: cros: Added policies for screen unlock. (Closed)
Patch Set: Rebased. Created 4 years, 1 month 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
« no previous file with comments | « chrome/browser/ui/webui/options/browser_options_handler.cc ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/settings/md_settings_ui.cc
diff --git a/chrome/browser/ui/webui/settings/md_settings_ui.cc b/chrome/browser/ui/webui/settings/md_settings_ui.cc
index 62b4fd99e2a10f72d879026b07cfe2e2f9224b59..eab39235f18cfef503d77a5aaf6b965b54690ba5 100644
--- a/chrome/browser/ui/webui/settings/md_settings_ui.cc
+++ b/chrome/browser/ui/webui/settings/md_settings_ui.cc
@@ -127,8 +127,8 @@ MdSettingsUI::MdSettingsUI(content::WebUI* web_ui, const GURL& url)
chromeos::settings::DateTimeHandler::Create(html_source));
html_source->AddBoolean("stylusAllowed", ash::IsPaletteFeatureEnabled());
- html_source->AddBoolean("quickUnlockEnabled",
- chromeos::IsQuickUnlockEnabled());
+ html_source->AddBoolean("pinUnlockEnabled",
+ chromeos::IsPinUnlockEnabled(profile->GetPrefs()));
#endif
AddSettingsPageUIHandler(AboutHandler::Create(html_source, profile));
« no previous file with comments | « chrome/browser/ui/webui/options/browser_options_handler.cc ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698