summaryrefslogtreecommitdiffstats
path: root/net/http/http_network_session_peer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/http/http_network_session_peer.cc')
-rw-r--r--net/http/http_network_session_peer.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/http/http_network_session_peer.cc b/net/http/http_network_session_peer.cc
index 7bb342c..2ed3e76 100644
--- a/net/http/http_network_session_peer.cc
+++ b/net/http/http_network_session_peer.cc
@@ -6,6 +6,7 @@
#include "net/http/http_network_session.h"
#include "net/http/http_proxy_client_socket_pool.h"
+#include "net/proxy/proxy_service.h"
#include "net/socket/socks_client_socket_pool.h"
#include "net/socket/ssl_client_socket_pool.h"
#include "net/socket/tcp_client_socket_pool.h"
@@ -66,4 +67,9 @@ void HttpNetworkSessionPeer::SetProxyService(ProxyService* proxy_service) {
session_->proxy_service_ = proxy_service;
}
+void HttpNetworkSessionPeer::SetHttpStreamFactory(
+ HttpStreamFactory* http_stream_factory) {
+ session_->http_stream_factory_.reset(http_stream_factory);
+}
+
} // namespace net