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

Unified Diff: net/http/http_network_transaction_unittest.cc

Issue 1387363004: Disable HTTP/2 over NPN (with OpenSSL). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re: #7. Created 5 years, 2 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
« no previous file with comments | « net/http/http_network_transaction.cc ('k') | net/http/http_server_properties.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2de64295cac8e9e61c0629afa10f1f2888136d93..3fa66eb10b3f7819266753d35afe89563169ee24 100644
--- a/net/http/http_network_transaction_unittest.cc
+++ b/net/http/http_network_transaction_unittest.cc
@@ -1466,7 +1466,8 @@ void HttpNetworkTransactionTest::PreconnectErrorResendRequestTest(
// Preconnect a socket.
SSLConfig ssl_config;
session->ssl_config_service()->GetSSLConfig(&ssl_config);
- session->GetNextProtos(&ssl_config.next_protos);
+ session->GetAlpnProtos(&ssl_config.alpn_protos);
+ session->GetNpnProtos(&ssl_config.npn_protos);
session->http_stream_factory()->PreconnectStreams(1, request, ssl_config,
ssl_config);
// Wait for the preconnect to complete.
« no previous file with comments | « net/http/http_network_transaction.cc ('k') | net/http/http_server_properties.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698