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

Unified Diff: net/http/http_auth_sspi_win.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_sspi_win.h
diff --git a/net/http/http_auth_sspi_win.h b/net/http/http_auth_sspi_win.h
index b3ef3c9581ff23057492ae52d4eded9531b4b13c..cfb4cc03d8a2d26be534f2204b4774403aa34c00 100644
--- a/net/http/http_auth_sspi_win.h
+++ b/net/http/http_auth_sspi_win.h
@@ -145,8 +145,7 @@ class NET_EXPORT_PRIVATE HttpAuthSSPI {
// obtained using |*username| and |*password|. If |username| and |password|
// are both NULL, the credentials for the currently logged in user are used
// instead.
- int GenerateAuthToken(const string16* username,
- const string16* password,
+ int GenerateAuthToken(const AuthCredentials* credentials,
const std::wstring& spn,
std::string* auth_token);
@@ -156,7 +155,7 @@ class NET_EXPORT_PRIVATE HttpAuthSSPI {
void Delegate();
private:
- int OnFirstRound(const string16* username, const string16* password);
+ int OnFirstRound(const AuthCredentials* credentials);
int GetNextSecurityToken(
const std::wstring& spn,

Powered by Google App Engine
This is Rietveld 408576698