Index: chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc |
diff --git a/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc b/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc |
index bc8d974c05a46b49907bab0b74e34a4ce9f95984..81f18adb9f3d2398a67728276980c8abade5369f 100644 |
--- a/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc |
+++ b/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc |
@@ -99,10 +99,6 @@ |
#include "third_party/protobuf/src/google/protobuf/repeated_field.h" |
#endif |
-#if BUILDFLAG(ANDROID_JAVA_UI) |
-#include "chrome/browser/android/intercept_download_resource_throttle.h" |
-#endif |
- |
#if defined(OS_ANDROID) |
#include "chrome/browser/renderer_host/data_reduction_proxy_resource_throttle_android.h" |
#include "components/navigation_interception/intercept_navigation_delegate.h" |
@@ -514,11 +510,6 @@ void ChromeResourceDispatcherHostDelegate::DownloadStarting( |
throttles->push_back(new DownloadResourceThrottle( |
download_request_limiter_, info->GetWebContentsGetterForRequest(), |
request->url(), request->method())); |
-#if BUILDFLAG(ANDROID_JAVA_UI) |
- throttles->push_back( |
- new chrome::InterceptDownloadResourceThrottle( |
- request, child_id, route_id, must_download)); |
-#endif |
} |
// If this isn't a new request, we've seen this before and added the standard |