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

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: Add all platforms to data reduction field trial. Created 6 years, 5 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 d95674418f381ac815c41fb6184ab1543aa83641..9556fd14b786a1ed0b6edcb6c2abd66ed721e020 100644
--- a/chrome/browser/android/intercept_download_resource_throttle.cc
+++ b/chrome/browser/android/intercept_download_resource_throttle.cc
@@ -58,7 +58,6 @@ 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)
net::HttpRequestHeaders headers;
request_->GetFullRequestHeaders(&headers);
if (headers.HasHeader(net::HttpRequestHeaders::kAuthorization) ||
@@ -67,9 +66,7 @@ void InterceptDownloadResourceThrottle::ProcessDownloadRequest() {
request_->response_info().headers))) {
return;
}
-#else
- return;
-#endif
+
}
// For OMA DRM downloads, Android Download Manager doesn't handle them
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_field_trials.cc » ('j') | chrome/browser/chrome_browser_field_trials.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698