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

Unified Diff: net/http/http_network_session.cc

Issue 14813024: Introduce RequestWebSocketStream into HttpStreamFactory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 7 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_network_session.cc
diff --git a/net/http/http_network_session.cc b/net/http/http_network_session.cc
index ffbc72dc08040f4cc8d9611702e835e4dbd20d1c..bc75324beb10b733b99803a179bd4136b50d2835 100644
--- a/net/http/http_network_session.cc
+++ b/net/http/http_network_session.cc
@@ -127,7 +127,8 @@ HttpNetworkSession::HttpNetworkSession(const Params& params)
params.spdy_max_concurrent_streams_limit,
params.time_func,
params.trusted_spdy_proxy),
- http_stream_factory_(new HttpStreamFactoryImpl(this)),
+ http_stream_factory_(new HttpStreamFactoryImpl(this, false)),
+ websocket_stream_factory_(new HttpStreamFactoryImpl(this, true)),
params_(params) {
DCHECK(proxy_service_);
DCHECK(ssl_config_service_);

Powered by Google App Engine
This is Rietveld 408576698