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 0993d68f3ed18f1db223bc1d3d2e417d3e431ff4..b0ddfcc675bfba742aa6d49f07c35f111b93e152 100644 |
--- a/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc |
+++ b/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc |
@@ -88,7 +88,7 @@ |
#include "chrome/browser/ui/webui/print_preview/print_preview_ui.h" |
#endif |
-#if defined(ENABLE_MEDIA_ROUTER) |
+#if defined(ENABLE_MEDIA_ROUTER) && !defined(OS_ANDROID) |
#include "chrome/browser/ui/webui/media_router/media_router_ui.h" |
#endif |
@@ -557,7 +557,7 @@ WebUIFactoryFunction GetWebUIFactoryFunction(WebUI* web_ui, |
if (url.host() == chrome::kChromeUIWebRtcLogsHost) |
return &NewWebUI<WebRtcLogsUI>; |
#endif |
-#if defined(ENABLE_MEDIA_ROUTER) |
+#if defined(ENABLE_MEDIA_ROUTER) && !defined(OS_ANDROID) |
if (url.host() == chrome::kChromeUIMediaRouterHost && |
switches::MediaRouterEnabled()) { |
return &NewWebUI<media_router::MediaRouterUI>; |