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

Unified Diff: net/http/http_auth_sspi_win.cc

Issue 1383613002: [net/http auth] Cleanup. Method names, and constness. Base URL: https://chromium.googlesource.com/chromium/src.git@mock-auth-handler-generalization
Patch Set: Created 5 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_auth_sspi_win.h ('k') | net/http/http_auth_sspi_win_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_auth_sspi_win.cc
diff --git a/net/http/http_auth_sspi_win.cc b/net/http/http_auth_sspi_win.cc
index f38b2588f83e7de9af6f1724e50ea7d053d9de4a..90cfcbfad1842b2ed8a78b2a26c5f433f0d314dd 100644
--- a/net/http/http_auth_sspi_win.cc
+++ b/net/http/http_auth_sspi_win.cc
@@ -282,13 +282,13 @@ void HttpAuthSSPI::ResetSecurityContext() {
}
HttpAuth::AuthorizationResult HttpAuthSSPI::ParseChallenge(
- HttpAuthChallengeTokenizer* tok) {
+ const HttpAuthChallengeTokenizer& tok) {
if (!SecIsValidHandle(&ctxt_)) {
- return net::ParseFirstRoundChallenge(scheme_, tok);
+ return ParseFirstRoundChallenge(scheme_, tok);
}
std::string encoded_auth_token;
- return net::ParseLaterRoundChallenge(scheme_, tok, &encoded_auth_token,
- &decoded_server_auth_token_);
+ return ParseLaterRoundChallenge(scheme_, tok, &encoded_auth_token,
+ &decoded_server_auth_token_);
}
int HttpAuthSSPI::GenerateAuthToken(const AuthCredentials* credentials,
« no previous file with comments | « net/http/http_auth_sspi_win.h ('k') | net/http/http_auth_sspi_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698