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

Unified Diff: net/spdy/spdy_network_transaction_unittest.cc

Issue 665083009: ABANDONED Handle multiple AlternateProtocols for each HostPortPair. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Work on pref load/save and on Job. Created 5 years, 11 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 e286333617d117775414cc0ef3f4aeb901bb205c..3c462e8e87b522f34974d07b884d3115968e787b 100644
--- a/net/spdy/spdy_network_transaction_unittest.cc
+++ b/net/spdy/spdy_network_transaction_unittest.cc
@@ -76,7 +76,7 @@ void UpdateSpdySessionDependencies(
SpdySessionDependencies* session_deps) {
switch (test_params.ssl_type) {
case SPDYNPN:
- session_deps->http_server_properties.SetAlternateProtocol(
+ session_deps->http_server_properties.AddAlternateProtocol(
HostPortPair("www.google.com", 80), 443,
AlternateProtocolFromNextProto(test_params.protocol), 1);
session_deps->use_alternate_protocols = true;
« net/http/http_server_properties_manager.cc ('K') | « net/quic/quic_stream_factory.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698