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 cb9cb951dc25a96e78cbc5b60bf7328420a40ac0..baced5d5de5f5bdfb4e29394e7286793d0bf0eff 100644 |
--- a/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc |
+++ b/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc |
@@ -74,6 +74,8 @@ |
#include "components/favicon_base/select_favicon_frames.h" |
#include "components/history/core/browser/history_types.h" |
#include "components/prefs/pref_service.h" |
+#include "components/safe_browsing/web_ui/constants.h" |
+#include "components/safe_browsing/web_ui/safe_browsing_ui.h" |
#include "components/signin/core/common/profile_management_switches.h" |
#include "components/signin/core/common/signin_features.h" |
#include "content/public/browser/web_contents.h" |
@@ -368,6 +370,8 @@ WebUIFactoryFunction GetWebUIFactoryFunction(WebUI* web_ui, |
return &NewWebUI<ProfilerUI>; |
if (url.host() == chrome::kChromeUIQuotaInternalsHost) |
return &NewWebUI<QuotaInternalsUI>; |
+ if (url.host() == safe_browsing::kChromeUISafeBrowsingHost) |
+ return &NewWebUI<SafeBrowsingUI>; |
if (url.host() == chrome::kChromeUISignInInternalsHost) |
return &NewWebUI<SignInInternalsUI>; |
if (url.host_piece() == chrome::kChromeUISuggestionsHost) |