summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/android/intercept_download_resource_throttle.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/android/intercept_download_resource_throttle.cc b/chrome/browser/android/intercept_download_resource_throttle.cc
index 8f71890..331b392 100644
--- a/chrome/browser/android/intercept_download_resource_throttle.cc
+++ b/chrome/browser/android/intercept_download_resource_throttle.cc
@@ -34,7 +34,8 @@ void InterceptDownloadResourceThrottle::WillProcessResponse(bool* defer) {
}
void InterceptDownloadResourceThrottle::ProcessDownloadRequest() {
- if (request_->method() != net::HttpRequestHeaders::kGetMethod)
+ if (request_->method() != net::HttpRequestHeaders::kGetMethod ||
+ request_->response_info().did_use_http_auth)
return;
content::DownloadControllerAndroid::Get()->CreateGETDownload(