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 a8147e1d12a8f50e482fca75525eb629b64145c2..4045e85079211f4e26edf8af7f331089bdef4b26 100644 |
--- a/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc |
+++ b/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc |
@@ -72,6 +72,10 @@ |
#include "chrome/browser/ui/webui/policy_ui.h" |
#endif |
+#if defined(ENABLE_WEBRTC) |
+#include "chrome/browser/ui/webui/media/webrtc_logs_ui.h" |
+#endif |
+ |
#if defined(OS_ANDROID) |
#include "chrome/browser/ui/webui/welcome_ui_android.h" |
#else |
@@ -250,6 +254,10 @@ WebUIFactoryFunction GetWebUIFactoryFunction(WebUI* web_ui, |
return &NewWebUI<UserActionsUI>; |
if (url.host() == chrome::kChromeUIVersionHost) |
return &NewWebUI<VersionUI>; |
+#if defined(ENABLE_WEBRTC) |
+ if (url.host() == chrome::kChromeUIWebRtcLogsHost) |
+ return &NewWebUI<WebRtcLogsUI>; |
+#endif |
/**************************************************************************** |
* OS Specific #defines |