| Index: chrome/browser/android/chrome_web_contents_delegate_android.cc
|
| diff --git a/chrome/browser/android/chrome_web_contents_delegate_android.cc b/chrome/browser/android/chrome_web_contents_delegate_android.cc
|
| index 56f993d5ba30e2dca8e4308b2b891dbe94b6e969..3e439a7bff48085662a695b77fc658146f0cbdbe 100644
|
| --- a/chrome/browser/android/chrome_web_contents_delegate_android.cc
|
| +++ b/chrome/browser/android/chrome_web_contents_delegate_android.cc
|
| @@ -231,8 +231,9 @@ ChromeWebContentsDelegateAndroid::GetJavaScriptDialogManager() {
|
| bool ChromeWebContentsDelegateAndroid::CanDownload(
|
| content::RenderViewHost* source,
|
| int request_id,
|
| - const std::string& request_method) {
|
| - if (request_method == net::HttpRequestHeaders::kGetMethod) {
|
| + const std::string& request_method,
|
| + bool has_auth) {
|
| + if (request_method == net::HttpRequestHeaders::kGetMethod && !has_auth) {
|
| content::DownloadControllerAndroid::Get()->CreateGETDownload(
|
| source, request_id);
|
| return false;
|
|
|