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

Unified Diff: net/http/http_auth_gssapi_posix.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_gssapi_posix.h ('k') | net/http/http_auth_gssapi_posix_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_auth_gssapi_posix.cc
diff --git a/net/http/http_auth_gssapi_posix.cc b/net/http/http_auth_gssapi_posix.cc
index be6978f365434159081b7c65627b381cac2f56fb..cac0e952d2558c40e07e32243b494391158b35f7 100644
--- a/net/http/http_auth_gssapi_posix.cc
+++ b/net/http/http_auth_gssapi_posix.cc
@@ -687,13 +687,13 @@ void HttpAuthGSSAPI::Delegate() {
}
HttpAuth::AuthorizationResult HttpAuthGSSAPI::ParseChallenge(
- HttpAuthChallengeTokenizer* tok) {
+ const HttpAuthChallengeTokenizer& tok) {
if (scoped_sec_context_.get() == GSS_C_NO_CONTEXT) {
- 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 HttpAuthGSSAPI::GenerateAuthToken(const AuthCredentials* credentials,
« no previous file with comments | « net/http/http_auth_gssapi_posix.h ('k') | net/http/http_auth_gssapi_posix_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698