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

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

Issue 2150763002: Enable PIN configuration settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Fix tests Created 4 years, 5 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
« no previous file with comments | « chrome/browser/resources/settings/people_page/people_page.js ('k') | chrome/chrome_browser_chromeos.gypi » ('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 e3a70bef3a740972d24be1056b7e2b7bdd104865..fec14589a673af671830b3d72bca82c1c8a6ca28 100644
--- a/chrome/browser/ui/webui/settings/md_settings_ui.cc
+++ b/chrome/browser/ui/webui/settings/md_settings_ui.cc
@@ -36,6 +36,7 @@
#include "grit/settings_resources_map.h"
#if defined(OS_CHROMEOS)
+#include "chrome/browser/chromeos/login/quick_unlock/quick_unlock_utils.h"
#include "chrome/browser/ui/webui/settings/chromeos/change_picture_handler.h"
#include "chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.h"
#include "chrome/browser/ui/webui/settings/chromeos/device_pointer_handler.h"
@@ -104,6 +105,9 @@ MdSettingsUI::MdSettingsUI(content::WebUI* web_ui, const GURL& url)
profile);
if (easy_unlock_handler)
AddSettingsPageUIHandler(easy_unlock_handler);
+
+ html_source->AddBoolean("quickUnlockEnabled",
+ chromeos::IsQuickUnlockEnabled());
#endif
AddSettingsPageUIHandler(AboutHandler::Create(html_source, profile));
« no previous file with comments | « chrome/browser/resources/settings/people_page/people_page.js ('k') | chrome/chrome_browser_chromeos.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698