| 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 alternate_protocol_probability_threshold(1), | 87 alternate_protocol_probability_threshold(1), |
| 88 enable_quic(false), | 88 enable_quic(false), |
| 89 enable_quic_for_proxies(false), | 89 enable_quic_for_proxies(false), |
| 90 enable_quic_port_selection(true), | 90 enable_quic_port_selection(true), |
| 91 quic_always_require_handshake_confirmation(false), | 91 quic_always_require_handshake_confirmation(false), |
| 92 quic_disable_connection_pooling(false), | 92 quic_disable_connection_pooling(false), |
| 93 quic_load_server_info_timeout_ms(0), | 93 quic_load_server_info_timeout_ms(0), |
| 94 quic_load_server_info_timeout_srtt_multiplier(0.0f), | 94 quic_load_server_info_timeout_srtt_multiplier(0.0f), |
| 95 quic_enable_truncated_connection_ids(false), | 95 quic_enable_truncated_connection_ids(false), |
| 96 quic_enable_connection_racing(false), | 96 quic_enable_connection_racing(false), |
| 97 quic_enable_non_blocking_io(false), | |
| 98 quic_disable_disk_cache(false), | 97 quic_disable_disk_cache(false), |
| 99 quic_socket_receive_buffer_size(kDefaultSocketReceiveBuffer), | 98 quic_socket_receive_buffer_size(kDefaultSocketReceiveBuffer), |
| 100 quic_clock(NULL), | 99 quic_clock(NULL), |
| 101 quic_random(NULL), | 100 quic_random(NULL), |
| 102 quic_max_packet_length(kDefaultMaxPacketSize), | 101 quic_max_packet_length(kDefaultMaxPacketSize), |
| 103 enable_user_alternate_protocol_ports(false), | 102 enable_user_alternate_protocol_ports(false), |
| 104 quic_crypto_client_stream_factory(NULL), | 103 quic_crypto_client_stream_factory(NULL), |
| 105 proxy_delegate(NULL) { | 104 proxy_delegate(NULL) { |
| 106 quic_supported_versions.push_back(QUIC_VERSION_24); | 105 quic_supported_versions.push_back(QUIC_VERSION_24); |
| 107 } | 106 } |
| (...skipping 28 matching lines...) Expand all Loading... |
| 136 params.quic_max_packet_length, | 135 params.quic_max_packet_length, |
| 137 params.quic_user_agent_id, | 136 params.quic_user_agent_id, |
| 138 params.quic_supported_versions, | 137 params.quic_supported_versions, |
| 139 params.enable_quic_port_selection, | 138 params.enable_quic_port_selection, |
| 140 params.quic_always_require_handshake_confirmation, | 139 params.quic_always_require_handshake_confirmation, |
| 141 params.quic_disable_connection_pooling, | 140 params.quic_disable_connection_pooling, |
| 142 params.quic_load_server_info_timeout_ms, | 141 params.quic_load_server_info_timeout_ms, |
| 143 params.quic_load_server_info_timeout_srtt_multiplier, | 142 params.quic_load_server_info_timeout_srtt_multiplier, |
| 144 params.quic_enable_truncated_connection_ids, | 143 params.quic_enable_truncated_connection_ids, |
| 145 params.quic_enable_connection_racing, | 144 params.quic_enable_connection_racing, |
| 146 params.quic_enable_non_blocking_io, | |
| 147 params.quic_disable_disk_cache, | 145 params.quic_disable_disk_cache, |
| 148 params.quic_socket_receive_buffer_size, | 146 params.quic_socket_receive_buffer_size, |
| 149 params.quic_connection_options), | 147 params.quic_connection_options), |
| 150 spdy_session_pool_(params.host_resolver, | 148 spdy_session_pool_(params.host_resolver, |
| 151 params.ssl_config_service, | 149 params.ssl_config_service, |
| 152 params.http_server_properties, | 150 params.http_server_properties, |
| 153 params.transport_security_state, | 151 params.transport_security_state, |
| 154 params.force_spdy_single_domain, | 152 params.force_spdy_single_domain, |
| 155 params.enable_spdy_compression, | 153 params.enable_spdy_compression, |
| 156 params.enable_spdy_ping_based_connection_checking, | 154 params.enable_spdy_ping_based_connection_checking, |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 322 case WEBSOCKET_SOCKET_POOL: | 320 case WEBSOCKET_SOCKET_POOL: |
| 323 return websocket_socket_pool_manager_.get(); | 321 return websocket_socket_pool_manager_.get(); |
| 324 default: | 322 default: |
| 325 NOTREACHED(); | 323 NOTREACHED(); |
| 326 break; | 324 break; |
| 327 } | 325 } |
| 328 return NULL; | 326 return NULL; |
| 329 } | 327 } |
| 330 | 328 |
| 331 } // namespace net | 329 } // namespace net |
| OLD | NEW |