Index: content/browser/webui/content_web_ui_controller_factory.cc |
=================================================================== |
--- content/browser/webui/content_web_ui_controller_factory.cc (revision 180281) |
+++ content/browser/webui/content_web_ui_controller_factory.cc (working copy) |
@@ -7,7 +7,6 @@ |
#include "content/browser/gpu/gpu_internals_ui.h" |
#include "content/browser/media/media_internals_ui.h" |
#include "content/browser/media/webrtc_internals_ui.h" |
-#include "content/browser/tracing/tracing_ui.h" |
#include "content/public/browser/web_contents.h" |
#include "content/public/browser/web_ui.h" |
#include "content/public/common/url_constants.h" |
@@ -17,9 +16,6 @@ |
WebUI::TypeID ContentWebUIControllerFactory::GetWebUIType( |
BrowserContext* browser_context, const GURL& url) const { |
if (url.host() == chrome::kChromeUIWebRTCInternalsHost || |
-#if !defined(OS_ANDROID) |
- url.host() == chrome::kChromeUITracingHost || |
-#endif |
url.host() == chrome::kChromeUIGpuHost || |
url.host() == chrome::kChromeUIMediaInternalsHost) { |
return const_cast<ContentWebUIControllerFactory*>(this); |
@@ -45,10 +41,6 @@ |
return new GpuInternalsUI(web_ui); |
if (url.host() == chrome::kChromeUIMediaInternalsHost) |
return new MediaInternalsUI(web_ui); |
-#if !defined(OS_ANDROID) |
- if (url.host() == chrome::kChromeUITracingHost) |
- return new TracingUI(web_ui); |
-#endif |
return NULL; |
} |