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

Unified Diff: chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc

Issue 11783008: Add a lock to the managed user settings page and require authentication for unlocking. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use setCustomValidity in managed_user_set_passphrase.js. Created 7 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/chrome_web_ui_controller_factory.cc
diff --git a/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc b/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc
index 8aa5eefadb105bd5536e0c085e11561185702a36..61bcb24a8b4dce854f2d1e16a6c11ac8ba813d4d 100644
--- a/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc
+++ b/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc
@@ -208,6 +208,8 @@ WebUIFactoryFunction GetWebUIFactoryFunction(WebUI* web_ui,
return &NewWebUI<InstantUI>;
if (url.host() == chrome::kChromeUILocalOmniboxPopupHost)
return &NewWebUI<LocalOmniboxPopupUI>;
+ if (url.host() == chrome::kChromeUIManagedUserPassphrasePageHost)
+ return &NewWebUI<ConstrainedWebDialogUI>;
if (url.host() == chrome::kChromeUIMemoryInternalsHost &&
CommandLine::ForCurrentProcess()->HasSwitch(
switches::kEnableMemoryInternalsUI)) {

Powered by Google App Engine
This is Rietveld 408576698