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

Unified Diff: net/spdy/spdy_network_transaction_unittest.cc

Issue 1216703002: Implement multiple alternative services per origin. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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
« net/http/http_stream_factory_impl.cc ('K') | « net/quic/quic_stream_factory.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ba18cd1f22ad067ed94cad64f11fe473100bcb49..f6c43ecdff5252e66b92f1e55e4c3a71b338e221 100644
--- a/net/spdy/spdy_network_transaction_unittest.cc
+++ b/net/spdy/spdy_network_transaction_unittest.cc
@@ -96,7 +96,7 @@ void UpdateSpdySessionDependencies(SpdyNetworkTransactionTestParams test_params,
session_deps->use_alternate_protocols = true;
session_deps->next_protos = SpdyNextProtos();
if (test_params.ssl_type == HTTP_SPDY_VIA_ALT_SVC) {
- session_deps->http_server_properties.SetAlternativeService(
+ session_deps->http_server_properties.AddAlternativeService(
HostPortPair("www.example.org", 80),
AlternativeService(AlternateProtocolFromNextProto(test_params.protocol),
"www.example.org", 443),
« net/http/http_stream_factory_impl.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