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

Unified Diff: chrome/browser/download/download_resource_throttle.cc

Issue 13609002: fix a problem that android cannot download files with basic authentication (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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/download/download_resource_throttle.cc
diff --git a/chrome/browser/download/download_resource_throttle.cc b/chrome/browser/download/download_resource_throttle.cc
index 7b7b162ece4060ee838e4f57c1e5617567515657..24ab945607b539d7a4d925a2793a8c7300b106ae 100644
--- a/chrome/browser/download/download_resource_throttle.cc
+++ b/chrome/browser/download/download_resource_throttle.cc
@@ -13,7 +13,8 @@ DownloadResourceThrottle::DownloadResourceThrottle(
int render_process_id,
int render_view_id,
int request_id,
- const std::string& request_method)
+ const std::string& request_method,
+ bool has_auth)
: querying_limiter_(true),
request_allowed_(false),
request_deferred_(false) {
@@ -22,6 +23,7 @@ DownloadResourceThrottle::DownloadResourceThrottle(
render_view_id,
request_id,
request_method,
+ has_auth,
base::Bind(&DownloadResourceThrottle::ContinueDownload,
AsWeakPtr()));
}

Powered by Google App Engine
This is Rietveld 408576698