Index: net/http/http_auth_cache_unittest.cc |
diff --git a/net/http/http_auth_cache_unittest.cc b/net/http/http_auth_cache_unittest.cc |
index 65bf17dd066d6a30efb0abe32330ae9037be6d78..1b8a5c89fb802129182742a44ee1d486a6a07231 100644 |
--- a/net/http/http_auth_cache_unittest.cc |
+++ b/net/http/http_auth_cache_unittest.cc |
@@ -31,17 +31,17 @@ class MockAuthHandler : public HttpAuthHandler { |
} |
HttpAuth::AuthorizationResult HandleAnotherChallenge( |
- HttpAuthChallengeTokenizer* challenge) override { |
+ const HttpAuthChallengeTokenizer& challenge) override { |
return HttpAuth::AUTHORIZATION_RESULT_REJECT; |
} |
protected: |
- bool Init(HttpAuthChallengeTokenizer* challenge) override { |
- return false; // Unused. |
+ int Init(const HttpAuthChallengeTokenizer& challenge) override { |
+ return ERR_UNEXPECTED; // Unused. |
} |
int GenerateAuthTokenImpl(const AuthCredentials*, |
- const HttpRequestInfo*, |
+ const HttpRequestInfo&, |
const CompletionCallback& callback, |
std::string* auth_token) override { |
*auth_token = "mock-credentials"; |