Index: net/http/http_response_body_drainer_unittest.cc |
diff --git a/net/http/http_response_body_drainer_unittest.cc b/net/http/http_response_body_drainer_unittest.cc |
index 44943e291f36bcf9de2407c4405d3cb8e3373317..a02ed662370873ea10f04107203626551b74d984 100644 |
--- a/net/http/http_response_body_drainer_unittest.cc |
+++ b/net/http/http_response_body_drainer_unittest.cc |
@@ -245,15 +245,15 @@ class HttpResponseBodyDrainerTest : public testing::Test { |
~HttpResponseBodyDrainerTest() override {} |
HttpNetworkSession* CreateNetworkSession() { |
- HttpNetworkSession::Params params; |
- params.proxy_service = proxy_service_.get(); |
- params.ssl_config_service = ssl_config_service_.get(); |
- params.http_server_properties = http_server_properties_.get(); |
- params.cert_verifier = &cert_verifier_; |
- params.transport_security_state = &transport_security_state_; |
- params.cert_transparency_verifier = &ct_verifier_; |
- params.ct_policy_enforcer = &ct_policy_enforcer_; |
- return new HttpNetworkSession(params); |
+ HttpNetworkSession::Context context; |
+ context.proxy_service = proxy_service_.get(); |
+ context.ssl_config_service = ssl_config_service_.get(); |
+ context.http_server_properties = http_server_properties_.get(); |
+ context.cert_verifier = &cert_verifier_; |
+ context.transport_security_state = &transport_security_state_; |
+ context.cert_transparency_verifier = &ct_verifier_; |
+ context.ct_policy_enforcer = &ct_policy_enforcer_; |
+ return new HttpNetworkSession(HttpNetworkSession::Params(), context); |
} |
std::unique_ptr<ProxyService> proxy_service_; |