| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "net/http/http_network_session_peer.h" | 5 #include "net/http/http_network_session_peer.h" |
| 6 | 6 |
| 7 #include "net/http/http_network_session.h" | 7 #include "net/http/http_network_session.h" |
| 8 #include "net/http/http_proxy_client_socket_pool.h" | 8 #include "net/http/http_proxy_client_socket_pool.h" |
| 9 #include "net/proxy/proxy_service.h" | 9 #include "net/proxy/proxy_service.h" |
| 10 #include "net/socket/client_socket_pool_manager.h" | 10 #include "net/socket/client_socket_pool_manager.h" |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 | 27 |
| 28 void HttpNetworkSessionPeer::SetProxyService(ProxyService* proxy_service) { | 28 void HttpNetworkSessionPeer::SetProxyService(ProxyService* proxy_service) { |
| 29 session_->proxy_service_ = proxy_service; | 29 session_->proxy_service_ = proxy_service; |
| 30 } | 30 } |
| 31 | 31 |
| 32 void HttpNetworkSessionPeer::SetHttpStreamFactory( | 32 void HttpNetworkSessionPeer::SetHttpStreamFactory( |
| 33 HttpStreamFactory* http_stream_factory) { | 33 HttpStreamFactory* http_stream_factory) { |
| 34 session_->http_stream_factory_.reset(http_stream_factory); | 34 session_->http_stream_factory_.reset(http_stream_factory); |
| 35 } | 35 } |
| 36 | 36 |
| 37 void HttpNetworkSessionPeer::SetWebSocketStreamFactory( |
| 38 HttpStreamFactory* http_stream_factory) { |
| 39 session_->websocket_stream_factory_.reset(http_stream_factory); |
| 40 } |
| 41 |
| 37 } // namespace net | 42 } // namespace net |
| OLD | NEW |