| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 time_func(&base::TimeTicks::Now), | 82 time_func(&base::TimeTicks::Now), |
| 83 force_spdy_over_ssl(true), | 83 force_spdy_over_ssl(true), |
| 84 force_spdy_always(false), | 84 force_spdy_always(false), |
| 85 use_alternate_protocols(false), | 85 use_alternate_protocols(false), |
| 86 alternate_protocol_probability_threshold(1), | 86 alternate_protocol_probability_threshold(1), |
| 87 enable_quic(false), | 87 enable_quic(false), |
| 88 enable_quic_port_selection(true), | 88 enable_quic_port_selection(true), |
| 89 quic_always_require_handshake_confirmation(false), | 89 quic_always_require_handshake_confirmation(false), |
| 90 quic_disable_connection_pooling(false), | 90 quic_disable_connection_pooling(false), |
| 91 quic_load_server_info_timeout_ms(0), | 91 quic_load_server_info_timeout_ms(0), |
| 92 quic_disable_loading_server_info_for_new_servers(false), | |
| 93 quic_load_server_info_timeout_srtt_multiplier(0.0f), | 92 quic_load_server_info_timeout_srtt_multiplier(0.0f), |
| 94 quic_enable_truncated_connection_ids(false), | 93 quic_enable_truncated_connection_ids(false), |
| 95 quic_clock(NULL), | 94 quic_clock(NULL), |
| 96 quic_random(NULL), | 95 quic_random(NULL), |
| 97 quic_max_packet_length(kDefaultMaxPacketSize), | 96 quic_max_packet_length(kDefaultMaxPacketSize), |
| 98 enable_user_alternate_protocol_ports(false), | 97 enable_user_alternate_protocol_ports(false), |
| 99 quic_crypto_client_stream_factory(NULL), | 98 quic_crypto_client_stream_factory(NULL), |
| 100 proxy_delegate(NULL) { | 99 proxy_delegate(NULL) { |
| 101 quic_supported_versions.push_back(QUIC_VERSION_23); | 100 quic_supported_versions.push_back(QUIC_VERSION_23); |
| 102 } | 101 } |
| (...skipping 25 matching lines...) Expand all Loading... |
| 128 params.quic_crypto_client_stream_factory, | 127 params.quic_crypto_client_stream_factory, |
| 129 params.quic_random ? params.quic_random : QuicRandom::GetInstance(), | 128 params.quic_random ? params.quic_random : QuicRandom::GetInstance(), |
| 130 params.quic_clock ? params.quic_clock : new QuicClock(), | 129 params.quic_clock ? params.quic_clock : new QuicClock(), |
| 131 params.quic_max_packet_length, | 130 params.quic_max_packet_length, |
| 132 params.quic_user_agent_id, | 131 params.quic_user_agent_id, |
| 133 params.quic_supported_versions, | 132 params.quic_supported_versions, |
| 134 params.enable_quic_port_selection, | 133 params.enable_quic_port_selection, |
| 135 params.quic_always_require_handshake_confirmation, | 134 params.quic_always_require_handshake_confirmation, |
| 136 params.quic_disable_connection_pooling, | 135 params.quic_disable_connection_pooling, |
| 137 params.quic_load_server_info_timeout_ms, | 136 params.quic_load_server_info_timeout_ms, |
| 138 params.quic_disable_loading_server_info_for_new_servers, | |
| 139 params.quic_load_server_info_timeout_srtt_multiplier, | 137 params.quic_load_server_info_timeout_srtt_multiplier, |
| 140 params.quic_enable_truncated_connection_ids, | 138 params.quic_enable_truncated_connection_ids, |
| 141 params.quic_connection_options), | 139 params.quic_connection_options), |
| 142 spdy_session_pool_(params.host_resolver, | 140 spdy_session_pool_(params.host_resolver, |
| 143 params.ssl_config_service, | 141 params.ssl_config_service, |
| 144 params.http_server_properties, | 142 params.http_server_properties, |
| 145 params.transport_security_state, | 143 params.transport_security_state, |
| 146 params.force_spdy_single_domain, | 144 params.force_spdy_single_domain, |
| 147 params.enable_spdy_compression, | 145 params.enable_spdy_compression, |
| 148 params.enable_spdy_ping_based_connection_checking, | 146 params.enable_spdy_ping_based_connection_checking, |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 case WEBSOCKET_SOCKET_POOL: | 311 case WEBSOCKET_SOCKET_POOL: |
| 314 return websocket_socket_pool_manager_.get(); | 312 return websocket_socket_pool_manager_.get(); |
| 315 default: | 313 default: |
| 316 NOTREACHED(); | 314 NOTREACHED(); |
| 317 break; | 315 break; |
| 318 } | 316 } |
| 319 return NULL; | 317 return NULL; |
| 320 } | 318 } |
| 321 | 319 |
| 322 } // namespace net | 320 } // namespace net |
| OLD | NEW |