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

Unified Diff: net/spdy/spdy_network_transaction_unittest.cc

Issue 1850043002: Check whether to enable token binding in preconnect.cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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: net/spdy/spdy_network_transaction_unittest.cc
diff --git a/net/spdy/spdy_network_transaction_unittest.cc b/net/spdy/spdy_network_transaction_unittest.cc
index 97dc9f2dd631f17946467d36f41cb341d86f0a95..ab83f10eeba1c8cb91b33a0685e7beb5b7533ac2 100644
--- a/net/spdy/spdy_network_transaction_unittest.cc
+++ b/net/spdy/spdy_network_transaction_unittest.cc
@@ -1078,15 +1078,10 @@ TEST_P(SpdyNetworkTransactionTest, TwoGetsLateBindingFromPreconnect) {
HttpRequestInfo httpreq = CreateGetRequest();
// Preconnect the first.
- SSLConfig preconnect_ssl_config;
- helper.session()->ssl_config_service()->GetSSLConfig(&preconnect_ssl_config);
HttpStreamFactory* http_stream_factory =
helper.session()->http_stream_factory();
- helper.session()->GetAlpnProtos(&preconnect_ssl_config.alpn_protos);
- helper.session()->GetNpnProtos(&preconnect_ssl_config.npn_protos);
- http_stream_factory->PreconnectStreams(1, httpreq, preconnect_ssl_config,
- preconnect_ssl_config);
+ http_stream_factory->PreconnectStreams(1, httpreq);
out.rv = trans1->Start(&httpreq, callback1.callback(), log);
ASSERT_EQ(ERR_IO_PENDING, out.rv);
« net/http/http_network_transaction.cc ('K') | « net/http/http_stream_factory_impl_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698