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

Unified Diff: net/http/http_auth_controller.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/http/http_auth_controller.h
diff --git a/net/http/http_auth_controller.h b/net/http/http_auth_controller.h
index 45a13394b558be5e71e87aaa2b3fff109b933610..7355e59633bb1bc05d570044d2ac920768ce64c0 100644
--- a/net/http/http_auth_controller.h
+++ b/net/http/http_auth_controller.h
@@ -23,6 +23,7 @@
namespace net {
class AuthChallengeInfo;
+class AuthCredentials;
class HttpAuthHandler;
class HttpAuthHandlerFactory;
class HttpAuthCache;
@@ -62,8 +63,7 @@ class NET_EXPORT_PRIVATE HttpAuthController
const BoundNetLog& net_log);
// Store the supplied credentials and prepare to restart the auth.
- virtual void ResetAuth(const string16& username,
- const string16& password);
+ virtual void ResetAuth(const AuthCredentials& credentials);
virtual bool HaveAuthHandler() const;

Powered by Google App Engine
This is Rietveld 408576698