Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_unittest.cc

Issue 1066513005: Use a custom URLRequestContextGetter for performing the secure proxy check. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename a field Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 2b1a17b84a54014b7a87b63fd963c2ab6c5f5014..dce4f0adadcf4f5a930de6ed47d627f1ceb0d5c5 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
@@ -185,18 +185,6 @@ 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.
- scoped_ptr<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.Pass());
-
context.set_net_log(drp_test_context->net_log());
net::MockClientSocketFactory mock_socket_factory;
context.set_client_socket_factory(&mock_socket_factory);

Powered by Google App Engine
This is Rietveld 408576698