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

Unified Diff: net/http/http_stream_factory_impl_unittest.cc

Issue 665083009: ABANDONED Handle multiple AlternateProtocols for each HostPortPair. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. 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/http/http_stream_factory_impl_unittest.cc
diff --git a/net/http/http_stream_factory_impl_unittest.cc b/net/http/http_stream_factory_impl_unittest.cc
index ff07a0ee1f060cd2d59a00724b1f522a229a3274..d48513134a2f9c08ace23b921a3e3c641924f0a7 100644
--- a/net/http/http_stream_factory_impl_unittest.cc
+++ b/net/http/http_stream_factory_impl_unittest.cc
@@ -1267,11 +1267,8 @@ TEST_P(HttpStreamFactoryTest, DISABLED_OrphanedWebSocketStream) {
request_info.url = GURL("ws://www.google.com:8888");
request_info.load_flags = 0;
- session->http_server_properties()->SetAlternateProtocol(
- HostPortPair("www.google.com", 8888),
- 9999,
- NPN_SPDY_3,
- 1);
+ session->http_server_properties()->AddAlternateProtocol(
+ HostPortPair("www.google.com", 8888), 9999, NPN_SPDY_3, 1);
SSLConfig ssl_config;
StreamRequestWaiter waiter;

Powered by Google App Engine
This is Rietveld 408576698