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

Unified Diff: net/http/http_network_transaction.h

Issue 8340026: Use AuthCredentials throughout the network stack instead of username/password. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix comments Created 9 years, 2 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
« no previous file with comments | « net/http/http_cache_transaction.cc ('k') | net/http/http_network_transaction.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_network_transaction.h
diff --git a/net/http/http_network_transaction.h b/net/http/http_network_transaction.h
index 770c6ba8f9b8e67e9f287e80034ef571ebdbbc4a..a7c5bc03290c9d0712b9be254485b79dfa9a44d0 100644
--- a/net/http/http_network_transaction.h
+++ b/net/http/http_network_transaction.h
@@ -47,9 +47,8 @@ class NET_EXPORT_PRIVATE HttpNetworkTransaction
virtual int RestartIgnoringLastError(OldCompletionCallback* callback);
virtual int RestartWithCertificate(X509Certificate* client_cert,
OldCompletionCallback* callback);
- virtual int RestartWithAuth(const string16& username,
- const string16& password,
- OldCompletionCallback* callback);
+ virtual int RestartWithAuth(const AuthCredentials& credentials,
+ OldCompletionCallback* callback) OVERRIDE;
virtual bool IsReadyToRestartForAuth();
virtual int Read(IOBuffer* buf, int buf_len, OldCompletionCallback* callback);
« no previous file with comments | « net/http/http_cache_transaction.cc ('k') | net/http/http_network_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698