Index: net/http/http_auth_handler_ntlm.h |
diff --git a/net/http/http_auth_handler_ntlm.h b/net/http/http_auth_handler_ntlm.h |
index b24b7e071ddd717454f64c02993b57e9b799cecb..d52585411a5ea9261c0d25bff4a33937f27879c8 100644 |
--- a/net/http/http_auth_handler_ntlm.h |
+++ b/net/http/http_auth_handler_ntlm.h |
@@ -41,7 +41,7 @@ class NET_EXPORT_PRIVATE HttpAuthHandlerNTLM : public HttpAuthHandler { |
Factory(); |
~Factory() override; |
- int CreateAuthHandler(HttpAuthChallengeTokenizer* challenge, |
+ int CreateAuthHandler(const HttpAuthChallengeTokenizer& challenge, |
HttpAuth::Target target, |
const GURL& origin, |
CreateReason reason, |
@@ -107,17 +107,17 @@ class NET_EXPORT_PRIVATE HttpAuthHandlerNTLM : public HttpAuthHandler { |
bool AllowsDefaultCredentials() override; |
HttpAuth::AuthorizationResult HandleAnotherChallenge( |
- HttpAuthChallengeTokenizer* challenge) override; |
+ const HttpAuthChallengeTokenizer& challenge) override; |
protected: |
// This function acquires a credentials handle in the SSPI implementation. |
// It does nothing in the portable implementation. |
int InitializeBeforeFirstChallenge(); |
- bool Init(HttpAuthChallengeTokenizer* tok) override; |
+ int Init(const HttpAuthChallengeTokenizer& tok) override; |
int GenerateAuthTokenImpl(const AuthCredentials* credentials, |
- const HttpRequestInfo* request, |
+ const HttpRequestInfo& request, |
const CompletionCallback& callback, |
std::string* auth_token) override; |
@@ -133,7 +133,8 @@ class NET_EXPORT_PRIVATE HttpAuthHandlerNTLM : public HttpAuthHandler { |
// Parse the challenge, saving the results into this instance. |
HttpAuth::AuthorizationResult ParseChallenge( |
- HttpAuthChallengeTokenizer* tok, bool initial_challenge); |
+ const HttpAuthChallengeTokenizer& tok, |
+ bool initial_challenge); |
// Given an input token received from the server, generate the next output |
// token to be sent to the server. |