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

Unified Diff: net/android/http_auth_negotiate_android.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/android/http_auth_negotiate_android.h ('k') | net/android/http_auth_negotiate_android_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/android/http_auth_negotiate_android.cc
diff --git a/net/android/http_auth_negotiate_android.cc b/net/android/http_auth_negotiate_android.cc
index a8e9cc3009ae7bcef2db1c227f28bdc5435d26a5..2363eeaa306a820fb6a7ad782bc63c568e8c3f61 100644
--- a/net/android/http_auth_negotiate_android.cc
+++ b/net/android/http_auth_negotiate_android.cc
@@ -86,14 +86,14 @@ bool HttpAuthNegotiateAndroid::AllowsExplicitCredentials() const {
}
HttpAuth::AuthorizationResult HttpAuthNegotiateAndroid::ParseChallenge(
- net::HttpAuthChallengeTokenizer* tok) {
+ const HttpAuthChallengeTokenizer& tok) {
if (first_challenge_) {
first_challenge_ = false;
- return net::ParseFirstRoundChallenge("negotiate", tok);
+ return ParseFirstRoundChallenge("negotiate", tok);
}
std::string decoded_auth_token;
- return net::ParseLaterRoundChallenge("negotiate", tok, &server_auth_token_,
- &decoded_auth_token);
+ return ParseLaterRoundChallenge("negotiate", tok, &server_auth_token_,
+ &decoded_auth_token);
}
int HttpAuthNegotiateAndroid::GenerateAuthToken(
« no previous file with comments | « net/android/http_auth_negotiate_android.h ('k') | net/android/http_auth_negotiate_android_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698