Index: net/http/http_network_transaction_unittest.cc |
diff --git a/net/http/http_network_transaction_unittest.cc b/net/http/http_network_transaction_unittest.cc |
index 5e6833c22552c73d89120dead4e68a5585e5bd04..66db51bf8fe3b30df18816b7e2b3e2cbfb042ace 100644 |
--- a/net/http/http_network_transaction_unittest.cc |
+++ b/net/http/http_network_transaction_unittest.cc |
@@ -11516,6 +11516,7 @@ TEST_P(HttpNetworkTransactionTest, GenerateAuthToken) { |
HttpAuthHandlerMock::Factory* auth_factory( |
new HttpAuthHandlerMock::Factory()); |
session_deps_.http_auth_handler_factory.reset(auth_factory); |
+ HttpResponseInfo empty_response_info; |
const TestConfig& test_config = test_configs[i]; |
// Set up authentication handlers as necessary. |
@@ -11527,7 +11528,8 @@ TEST_P(HttpNetworkTransactionTest, GenerateAuthToken) { |
HttpAuthChallengeTokenizer tokenizer(auth_challenge.begin(), |
auth_challenge.end()); |
auth_handler->InitFromChallenge(&tokenizer, HttpAuth::AUTH_PROXY, |
- origin, BoundNetLog()); |
+ empty_response_info, origin, |
+ BoundNetLog()); |
auth_handler->SetGenerateExpectation( |
test_config.proxy_auth_timing == AUTH_ASYNC, |
test_config.proxy_auth_rv); |
@@ -11541,7 +11543,8 @@ TEST_P(HttpNetworkTransactionTest, GenerateAuthToken) { |
HttpAuthChallengeTokenizer tokenizer(auth_challenge.begin(), |
auth_challenge.end()); |
auth_handler->InitFromChallenge(&tokenizer, HttpAuth::AUTH_SERVER, |
- origin, BoundNetLog()); |
+ empty_response_info, origin, |
+ BoundNetLog()); |
auth_handler->SetGenerateExpectation( |
test_config.server_auth_timing == AUTH_ASYNC, |
test_config.server_auth_rv); |
@@ -11650,8 +11653,9 @@ TEST_P(HttpNetworkTransactionTest, MultiRoundAuth) { |
GURL origin("http://www.example.com"); |
HttpAuthChallengeTokenizer tokenizer(auth_challenge.begin(), |
auth_challenge.end()); |
+ HttpResponseInfo empty_response_info; |
auth_handler->InitFromChallenge(&tokenizer, HttpAuth::AUTH_SERVER, |
- origin, BoundNetLog()); |
+ empty_response_info, origin, BoundNetLog()); |
auth_factory->AddMockHandler(auth_handler, HttpAuth::AUTH_SERVER); |
int rv = OK; |