| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 params.quic_clock ? params. quic_clock : | 120 params.quic_clock ? params. quic_clock : |
| 122 new QuicClock(), | 121 new QuicClock(), |
| 123 params.quic_max_packet_length, | 122 params.quic_max_packet_length, |
| 124 params.quic_supported_versions, | 123 params.quic_supported_versions, |
| 125 params.enable_quic_port_selection, | 124 params.enable_quic_port_selection, |
| 126 params.enable_quic_pacing), | 125 params.enable_quic_pacing), |
| 127 spdy_session_pool_(params.host_resolver, | 126 spdy_session_pool_(params.host_resolver, |
| 128 params.ssl_config_service, | 127 params.ssl_config_service, |
| 129 params.http_server_properties, | 128 params.http_server_properties, |
| 130 params.force_spdy_single_domain, | 129 params.force_spdy_single_domain, |
| 131 params.enable_spdy_ip_pooling, | |
| 132 params.enable_spdy_compression, | 130 params.enable_spdy_compression, |
| 133 params.enable_spdy_ping_based_connection_checking, | 131 params.enable_spdy_ping_based_connection_checking, |
| 134 params.spdy_default_protocol, | 132 params.spdy_default_protocol, |
| 135 params.spdy_stream_initial_recv_window_size, | 133 params.spdy_stream_initial_recv_window_size, |
| 136 params.spdy_initial_max_concurrent_streams, | 134 params.spdy_initial_max_concurrent_streams, |
| 137 params.spdy_max_concurrent_streams_limit, | 135 params.spdy_max_concurrent_streams_limit, |
| 138 params.time_func, | 136 params.time_func, |
| 139 params.trusted_spdy_proxy), | 137 params.trusted_spdy_proxy), |
| 140 http_stream_factory_(new HttpStreamFactoryImpl(this, false)), | 138 http_stream_factory_(new HttpStreamFactoryImpl(this, false)), |
| 141 http_stream_factory_for_websocket_( | 139 http_stream_factory_for_websocket_( |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 case WEBSOCKET_SOCKET_POOL: | 234 case WEBSOCKET_SOCKET_POOL: |
| 237 return websocket_socket_pool_manager_.get(); | 235 return websocket_socket_pool_manager_.get(); |
| 238 default: | 236 default: |
| 239 NOTREACHED(); | 237 NOTREACHED(); |
| 240 break; | 238 break; |
| 241 } | 239 } |
| 242 return NULL; | 240 return NULL; |
| 243 } | 241 } |
| 244 | 242 |
| 245 } // namespace net | 243 } // namespace net |
| OLD | NEW |