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

Unified Diff: net/url_request/url_request_job.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: Reduce password zapping 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
Index: net/url_request/url_request_job.h
diff --git a/net/url_request/url_request_job.h b/net/url_request/url_request_job.h
index c219a3a1effa79ce6c02be52276ed01d9ddf758f..c59fb2858b13ed66a9a5050ea6c33d6b2a4f4b70 100644
--- a/net/url_request/url_request_job.h
+++ b/net/url_request/url_request_job.h
@@ -24,6 +24,7 @@
namespace net {
class AuthChallengeInfo;
+class AuthCredentials;
class CookieList;
class CookieOptions;
class HttpRequestHeaders;
@@ -152,8 +153,7 @@ class NET_EXPORT URLRequestJob : public base::RefCounted<URLRequestJob>,
scoped_refptr<AuthChallengeInfo>* auth_info);
// Resend the request with authentication credentials.
- virtual void SetAuth(const string16& username,
- const string16& password);
+ virtual void SetAuth(const AuthCredentials& credentials);
// Display the error page without asking for credentials again.
virtual void CancelAuth();

Powered by Google App Engine
This is Rietveld 408576698