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

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
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 c2a63fe1c0013ba8e539b5fb29ec9d905ba1566d..72f30624c0bcf71f00750155835ead07b95161cd 100644
--- a/chrome/browser/ui/webui/settings/md_settings_ui.cc
+++ b/chrome/browser/ui/webui/settings/md_settings_ui.cc
@@ -126,7 +126,7 @@ MdSettingsUI::MdSettingsUI(content::WebUI* web_ui, const GURL& url)
html_source->AddBoolean("stylusAllowed", ash::IsPaletteFeatureEnabled());
html_source->AddBoolean("quickUnlockEnabled",
stevenjb 2016/11/03 18:23:03 pinUnlockEnabled
sammiequon 2016/11/03 20:36:39 Done.
- chromeos::IsQuickUnlockEnabled());
+ chromeos::IsPinUnlockEnabled(profile->GetPrefs()));
#endif
AddSettingsPageUIHandler(AboutHandler::Create(html_source, profile));

Powered by Google App Engine
This is Rietveld 408576698