Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(341)

Unified Diff: chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc

Issue 2341643008: Defaulting all downloads to go through Chrome network stack (Closed)
Patch Set: remove extern Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698