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 03fb00a86970d20902175ec2170dacdd07777715..31dc6957ee8c88d518978eb5e68bf882c6d28a9f 100644 |
--- a/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc |
+++ b/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc |
@@ -101,7 +101,6 @@ |
#include "chrome/browser/ui/webui/print_preview/print_preview_ui.h" |
#endif |
-#if defined(ENABLE_MEDIA_ROUTER) |
#if !defined(OS_ANDROID) |
#include "chrome/browser/media/router/media_router_feature.h" |
#include "chrome/browser/ui/webui/media_router/media_router_ui.h" |
@@ -109,7 +108,6 @@ |
#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS) |
#include "chrome/browser/ui/webui/cast/cast_ui.h" |
#endif |
-#endif |
#if defined(OS_ANDROID) |
#include "chrome/browser/ui/webui/offline/offline_internals_ui.h" |
@@ -616,7 +614,6 @@ WebUIFactoryFunction GetWebUIFactoryFunction(WebUI* web_ui, |
if (url.host_piece() == chrome::kChromeUIWebRtcLogsHost) |
return &NewWebUI<WebRtcLogsUI>; |
#endif |
-#if defined(ENABLE_MEDIA_ROUTER) |
#if !defined(OS_ANDROID) |
if (url.host_piece() == chrome::kChromeUIMediaRouterHost && |
media_router::MediaRouterEnabled(profile)) { |
@@ -629,7 +626,6 @@ WebUIFactoryFunction GetWebUIFactoryFunction(WebUI* web_ui, |
return &NewWebUI<CastUI>; |
} |
#endif |
-#endif |
#if defined(OS_LINUX) || defined(OS_ANDROID) |
if (url.host_piece() == chrome::kChromeUISandboxHost) { |
return &NewWebUI<SandboxInternalsUI>; |