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

Unified Diff: net/http/http_transaction.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: 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/http/http_transaction.h
diff --git a/net/http/http_transaction.h b/net/http/http_transaction.h
index c162b0125103e3af00b1473fdebb16b021f515e9..0c030ac1a2c3744aada380564a9c92a189d62efb 100644
--- a/net/http/http_transaction.h
+++ b/net/http/http_transaction.h
@@ -75,6 +75,9 @@ class NET_EXPORT_PRIVATE HttpTransaction {
// restarts needed for authentication.
virtual bool IsReadyToRestartForAuth() = 0;
+ // Check whether http request has authentication credentials.
+ virtual bool HasAuth() const = 0;
+
// Once response info is available for the transaction, response data may be
// read by calling this method.
//

Powered by Google App Engine
This is Rietveld 408576698