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

Unified Diff: content/public/browser/web_contents_delegate.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: content/public/browser/web_contents_delegate.cc
diff --git a/content/public/browser/web_contents_delegate.cc b/content/public/browser/web_contents_delegate.cc
index 7a4409d1e15d8db5a95b0912da3523f3ed38cfbb..0143c7db77f73820b4c681f212e7ec9e9d57ceb1 100644
--- a/content/public/browser/web_contents_delegate.cc
+++ b/content/public/browser/web_contents_delegate.cc
@@ -71,7 +71,8 @@ int WebContentsDelegate::GetExtraRenderViewHeight() const {
bool WebContentsDelegate::CanDownload(RenderViewHost* render_view_host,
int request_id,
- const std::string& request_method) {
+ const std::string& request_method,
+ bool has_auth) {
return true;
}

Powered by Google App Engine
This is Rietveld 408576698