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

Unified Diff: chrome/browser/download/download_request_limiter.h

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_request_limiter.h
diff --git a/chrome/browser/download/download_request_limiter.h b/chrome/browser/download/download_request_limiter.h
index 16ebfaf36cbc2ec35e12585663d5b8f77e808c17..c28c482ecd8e608d73179f050c3bbc2f1e4c6ac5 100644
--- a/chrome/browser/download/download_request_limiter.h
+++ b/chrome/browser/download/download_request_limiter.h
@@ -181,6 +181,7 @@ class DownloadRequestLimiter
int render_view_id,
int request_id,
const std::string& request_method,
+ bool has_auth,
const Callback& callback);
private:
@@ -209,6 +210,7 @@ class DownloadRequestLimiter
int render_view_id,
int request_id,
const std::string& request_method,
+ bool has_auth,
const Callback& callback);
// Does the work of updating the download status on the UI thread and
@@ -216,6 +218,7 @@ class DownloadRequestLimiter
void CanDownloadImpl(content::WebContents* originating_contents,
int request_id,
const std::string& request_method,
+ bool has_auth,
const Callback& callback);
// Invoked on the UI thread. Schedules a call to NotifyCallback on the io

Powered by Google App Engine
This is Rietveld 408576698