summaryrefslogtreecommitdiffstats
path: root/net/http
diff options
context:
space:
mode:
authorbengr@chromium.org <bengr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-12 20:40:57 +0000
committerbengr@chromium.org <bengr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-12 20:40:57 +0000
commit04b86011f60f5aebc332a291f48ec6eace320d32 (patch)
treeb1957905c18bae3944dcc9ddcdf8d3d9f43f76bd /net/http
parent9f8b9b47827f0661dfacfd4e33a5318ff2fd214f (diff)
downloadchromium_src-04b86011f60f5aebc332a291f48ec6eace320d32.zip
chromium_src-04b86011f60f5aebc332a291f48ec6eace320d32.tar.gz
chromium_src-04b86011f60f5aebc332a291f48ec6eace320d32.tar.bz2
Use the Android Download Manager for data reduction proxy downloads.
Downloads from sites or via proxies that require HTTP authorization are in general downloaded by the network stack because the ADM can't authorize. This change makes an exception. If the download is via the data reduction proxy and the download's site does not require proxy authorization, then use the ADM. BUG=326225 Review URL: https://codereview.chromium.org/102953006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240396 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http')
-rw-r--r--net/http/http_response_headers.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/http/http_response_headers.cc b/net/http/http_response_headers.cc
index 87e3cdb..26cdd2ab2 100644
--- a/net/http/http_response_headers.cc
+++ b/net/http/http_response_headers.cc
@@ -1392,6 +1392,6 @@ bool HttpResponseHeaders::GetChromeProxyInfo(
return false;
}
-#endif
+#endif // defined(SPDY_PROXY_AUTH_ORIGIN)
} // namespace net