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

Unified Diff: net/http/http_stream_factory_impl_unittest.cc

Issue 1018943002: Update HttpServerProperties::*AlternateProtocol* interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 9 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 fd8d350f4201661ca0caff26273459868fac9331..c8c42c6ccc65403ee0dfcc2f035bde99379da4f6 100644
--- a/net/http/http_stream_factory_impl_unittest.cc
+++ b/net/http/http_stream_factory_impl_unittest.cc
@@ -1324,8 +1324,9 @@ 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.0);
+ session->http_server_properties()->SetAlternativeService(
+ HostPortPair("www.google.com", 8888),
+ AlternativeService(NPN_SPDY_3, "www.google.com", 9999), 1.0);
SSLConfig ssl_config;
StreamRequestWaiter waiter;

Powered by Google App Engine
This is Rietveld 408576698