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.h" | 5 #include "net/http/http_network_session.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/debug/stack_trace.h" | 10 #include "base/debug/stack_trace.h" |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 normal_socket_pool_manager_( | 110 normal_socket_pool_manager_( |
111 CreateSocketPoolManager(NORMAL_SOCKET_POOL, params)), | 111 CreateSocketPoolManager(NORMAL_SOCKET_POOL, params)), |
112 websocket_socket_pool_manager_( | 112 websocket_socket_pool_manager_( |
113 CreateSocketPoolManager(WEBSOCKET_SOCKET_POOL, params)), | 113 CreateSocketPoolManager(WEBSOCKET_SOCKET_POOL, params)), |
114 quic_stream_factory_(params.host_resolver, | 114 quic_stream_factory_(params.host_resolver, |
115 params.client_socket_factory ? | 115 params.client_socket_factory ? |
116 params.client_socket_factory : | 116 params.client_socket_factory : |
117 net::ClientSocketFactory::GetDefaultFactory(), | 117 net::ClientSocketFactory::GetDefaultFactory(), |
118 params.http_server_properties, | 118 params.http_server_properties, |
119 params.cert_verifier, | 119 params.cert_verifier, |
| 120 params.server_bound_cert_service, |
120 params.quic_crypto_client_stream_factory, | 121 params.quic_crypto_client_stream_factory, |
121 params.quic_random ? params.quic_random : | 122 params.quic_random ? params.quic_random : |
122 QuicRandom::GetInstance(), | 123 QuicRandom::GetInstance(), |
123 params.quic_clock ? params. quic_clock : | 124 params.quic_clock ? params. quic_clock : |
124 new QuicClock(), | 125 new QuicClock(), |
125 params.quic_max_packet_length, | 126 params.quic_max_packet_length, |
126 params.quic_user_agent_id, | 127 params.quic_user_agent_id, |
127 params.quic_supported_versions, | 128 params.quic_supported_versions, |
128 params.enable_quic_port_selection, | 129 params.enable_quic_port_selection, |
129 params.enable_quic_pacing, | 130 params.enable_quic_pacing, |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 case WEBSOCKET_SOCKET_POOL: | 299 case WEBSOCKET_SOCKET_POOL: |
299 return websocket_socket_pool_manager_.get(); | 300 return websocket_socket_pool_manager_.get(); |
300 default: | 301 default: |
301 NOTREACHED(); | 302 NOTREACHED(); |
302 break; | 303 break; |
303 } | 304 } |
304 return NULL; | 305 return NULL; |
305 } | 306 } |
306 | 307 |
307 } // namespace net | 308 } // namespace net |
OLD | NEW |