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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 http_auth_handler_factory(NULL), | 66 http_auth_handler_factory(NULL), |
67 network_delegate(NULL), | 67 network_delegate(NULL), |
68 net_log(NULL), | 68 net_log(NULL), |
69 host_mapping_rules(NULL), | 69 host_mapping_rules(NULL), |
70 force_http_pipelining(false), | 70 force_http_pipelining(false), |
71 ignore_certificate_errors(false), | 71 ignore_certificate_errors(false), |
72 http_pipelining_enabled(false), | 72 http_pipelining_enabled(false), |
73 testing_fixed_http_port(0), | 73 testing_fixed_http_port(0), |
74 testing_fixed_https_port(0), | 74 testing_fixed_https_port(0), |
75 force_spdy_single_domain(false), | 75 force_spdy_single_domain(false), |
76 enable_spdy_ip_pooling(true), | |
77 enable_spdy_compression(true), | 76 enable_spdy_compression(true), |
78 enable_spdy_ping_based_connection_checking(true), | 77 enable_spdy_ping_based_connection_checking(true), |
79 spdy_default_protocol(kProtoUnknown), | 78 spdy_default_protocol(kProtoUnknown), |
80 spdy_stream_initial_recv_window_size(0), | 79 spdy_stream_initial_recv_window_size(0), |
81 spdy_initial_max_concurrent_streams(0), | 80 spdy_initial_max_concurrent_streams(0), |
82 spdy_max_concurrent_streams_limit(0), | 81 spdy_max_concurrent_streams_limit(0), |
83 time_func(&base::TimeTicks::Now), | 82 time_func(&base::TimeTicks::Now), |
84 enable_quic(false), | 83 enable_quic(false), |
85 enable_quic_https(false), | 84 enable_quic_https(false), |
86 enable_quic_port_selection(true), | 85 enable_quic_port_selection(true), |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 QuicRandom::GetInstance(), | 118 QuicRandom::GetInstance(), |
120 params.quic_clock ? params. quic_clock : | 119 params.quic_clock ? params. quic_clock : |
121 new QuicClock(), | 120 new QuicClock(), |
122 params.quic_max_packet_length, | 121 params.quic_max_packet_length, |
123 params.quic_supported_versions, | 122 params.quic_supported_versions, |
124 params.enable_quic_port_selection), | 123 params.enable_quic_port_selection), |
125 spdy_session_pool_(params.host_resolver, | 124 spdy_session_pool_(params.host_resolver, |
126 params.ssl_config_service, | 125 params.ssl_config_service, |
127 params.http_server_properties, | 126 params.http_server_properties, |
128 params.force_spdy_single_domain, | 127 params.force_spdy_single_domain, |
129 params.enable_spdy_ip_pooling, | |
130 params.enable_spdy_compression, | 128 params.enable_spdy_compression, |
131 params.enable_spdy_ping_based_connection_checking, | 129 params.enable_spdy_ping_based_connection_checking, |
132 params.spdy_default_protocol, | 130 params.spdy_default_protocol, |
133 params.spdy_stream_initial_recv_window_size, | 131 params.spdy_stream_initial_recv_window_size, |
134 params.spdy_initial_max_concurrent_streams, | 132 params.spdy_initial_max_concurrent_streams, |
135 params.spdy_max_concurrent_streams_limit, | 133 params.spdy_max_concurrent_streams_limit, |
136 params.time_func, | 134 params.time_func, |
137 params.trusted_spdy_proxy), | 135 params.trusted_spdy_proxy), |
138 http_stream_factory_(new HttpStreamFactoryImpl(this, false)), | 136 http_stream_factory_(new HttpStreamFactoryImpl(this, false)), |
139 http_stream_factory_for_websocket_( | 137 http_stream_factory_for_websocket_( |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 case WEBSOCKET_SOCKET_POOL: | 230 case WEBSOCKET_SOCKET_POOL: |
233 return websocket_socket_pool_manager_.get(); | 231 return websocket_socket_pool_manager_.get(); |
234 default: | 232 default: |
235 NOTREACHED(); | 233 NOTREACHED(); |
236 break; | 234 break; |
237 } | 235 } |
238 return NULL; | 236 return NULL; |
239 } | 237 } |
240 | 238 |
241 } // namespace net | 239 } // namespace net |
OLD | NEW |