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

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

Issue 12218118: Add a passphrase dialog for managed user accounts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments and rebase to ToT. 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 00a40a07b194901f5f10425d3f94e66b169dd1c8..34d279d427dc1b34825413332511cb8a21847ac8 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