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

Unified Diff: net/url_request/url_request.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: adding a call in http_transactions to get the auth info 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: net/url_request/url_request.cc
diff --git a/net/url_request/url_request.cc b/net/url_request/url_request.cc
index 4bde9990f5259dfae8f2ab195d50fce88f354b7b..4c32d29d98ad69d8c51bc2c7350834c3a02474d9 100644
--- a/net/url_request/url_request.cc
+++ b/net/url_request/url_request.cc
@@ -707,6 +707,11 @@ void URLRequest::CancelAuth() {
job_->CancelAuth();
}
+bool URLRequest::HasAuth() const {
+ DCHECK(job_);
+ return job_->HasAuth();
+}
+
void URLRequest::ContinueWithCertificate(X509Certificate* client_cert) {
DCHECK(job_);

Powered by Google App Engine
This is Rietveld 408576698