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

Unified Diff: chrome/browser/android/intercept_download_resource_throttle.cc

Issue 382313003: Add data reduction functionality to all platforms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove incorrect DCHECK from drp_statistics_prefs.cc Created 6 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/android/intercept_download_resource_throttle.cc
diff --git a/chrome/browser/android/intercept_download_resource_throttle.cc b/chrome/browser/android/intercept_download_resource_throttle.cc
index 87dbdab4b1cf2cb94532f9bc8bf97ec67c947e55..c64dc7b3bd379494e7ec7f22550ecdd19043763f 100644
--- a/chrome/browser/android/intercept_download_resource_throttle.cc
+++ b/chrome/browser/android/intercept_download_resource_throttle.cc
@@ -55,16 +55,12 @@ void InterceptDownloadResourceThrottle::ProcessDownloadRequest() {
// exception is a request that is fetched via the Chrome Proxy and does not
// authenticate with the origin.
if (request_->response_info().did_use_http_auth) {
-#if defined(SPDY_PROXY_AUTH_ORIGIN)
if (headers.HasHeader(net::HttpRequestHeaders::kAuthorization) ||
!(request_->response_info().headers &&
data_reduction_proxy::HasDataReductionProxyViaHeader(
request_->response_info().headers, NULL))) {
return;
}
-#else
- return;
-#endif
}
content::DownloadControllerAndroid::Get()->CreateGETDownload(
« no previous file with comments | « android_webview/browser/net/aw_url_request_context_getter.cc ('k') | chrome/browser/chrome_browser_field_trials_mobile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698