| Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_unittest.cc
|
| diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_unittest.cc
|
| index cdc4f8af22f5df791148f0754e4c9db497d53319..2b4038548ced6a73a4deb6dd8097f8ac1862d21c 100644
|
| --- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_unittest.cc
|
| +++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_unittest.cc
|
| @@ -194,6 +194,19 @@ TEST(DataReductionProxySettingsStandaloneTest, TestEndToEndSecureProxyCheck) {
|
| .SkipSettingsInitialization()
|
| .Build();
|
|
|
| + // Enabling QUIC should have no effect since secure proxy should not
|
| + // use QUIC. If secure proxy check incorrectly uses QUIC, the tests will
|
| + // fail because Mock sockets do not speak QUIC.
|
| + net::HttpNetworkSession::Params* params =
|
| + new net::HttpNetworkSession::Params();
|
| + params->use_alternate_protocols = true;
|
| + params->enable_quic = true;
|
| + params->origin_to_force_quic_on =
|
| + net::HostPortPair::FromString(
|
| + TestDataReductionProxyParams::DefaultSecureProxyCheckURL());
|
| +
|
| + context.set_http_network_session_params(params);
|
| +
|
| context.set_net_log(drp_test_context->net_log());
|
| net::MockClientSocketFactory mock_socket_factory;
|
| context.set_client_socket_factory(&mock_socket_factory);
|
|
|