| 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/atomic_sequence_num.h" | 9 #include "base/atomic_sequence_num.h" |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 quic_crypto_client_stream_factory( | 120 quic_crypto_client_stream_factory( |
| 121 QuicCryptoClientStreamFactory::GetDefaultFactory()), | 121 QuicCryptoClientStreamFactory::GetDefaultFactory()), |
| 122 quic_max_recent_disabled_reasons(kQuicMaxRecentDisabledReasons), | 122 quic_max_recent_disabled_reasons(kQuicMaxRecentDisabledReasons), |
| 123 quic_threshold_public_resets_post_handshake(0), | 123 quic_threshold_public_resets_post_handshake(0), |
| 124 quic_threshold_timeouts_streams_open(0), | 124 quic_threshold_timeouts_streams_open(0), |
| 125 quic_close_sessions_on_ip_change(false), | 125 quic_close_sessions_on_ip_change(false), |
| 126 quic_idle_connection_timeout_seconds(kIdleConnectionTimeoutSeconds), | 126 quic_idle_connection_timeout_seconds(kIdleConnectionTimeoutSeconds), |
| 127 quic_disable_preconnect_if_0rtt(false), | 127 quic_disable_preconnect_if_0rtt(false), |
| 128 quic_migrate_sessions_on_network_change(false), | 128 quic_migrate_sessions_on_network_change(false), |
| 129 quic_migrate_sessions_early(false), | 129 quic_migrate_sessions_early(false), |
| 130 quic_allow_server_migration(false), |
| 130 quic_disable_bidirectional_streams(false), | 131 quic_disable_bidirectional_streams(false), |
| 131 quic_force_hol_blocking(false), | 132 quic_force_hol_blocking(false), |
| 132 proxy_delegate(NULL), | 133 proxy_delegate(NULL), |
| 133 enable_token_binding(false) { | 134 enable_token_binding(false) { |
| 134 quic_supported_versions.push_back(QUIC_VERSION_34); | 135 quic_supported_versions.push_back(QUIC_VERSION_34); |
| 135 } | 136 } |
| 136 | 137 |
| 137 HttpNetworkSession::Params::Params(const Params& other) = default; | 138 HttpNetworkSession::Params::Params(const Params& other) = default; |
| 138 | 139 |
| 139 HttpNetworkSession::Params::~Params() {} | 140 HttpNetworkSession::Params::~Params() {} |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 params.quic_threshold_public_resets_post_handshake, | 181 params.quic_threshold_public_resets_post_handshake, |
| 181 params.quic_threshold_timeouts_streams_open, | 182 params.quic_threshold_timeouts_streams_open, |
| 182 params.quic_socket_receive_buffer_size, | 183 params.quic_socket_receive_buffer_size, |
| 183 params.quic_delay_tcp_race, | 184 params.quic_delay_tcp_race, |
| 184 params.quic_max_server_configs_stored_in_properties, | 185 params.quic_max_server_configs_stored_in_properties, |
| 185 params.quic_close_sessions_on_ip_change, | 186 params.quic_close_sessions_on_ip_change, |
| 186 params.disable_quic_on_timeout_with_open_streams, | 187 params.disable_quic_on_timeout_with_open_streams, |
| 187 params.quic_idle_connection_timeout_seconds, | 188 params.quic_idle_connection_timeout_seconds, |
| 188 params.quic_migrate_sessions_on_network_change, | 189 params.quic_migrate_sessions_on_network_change, |
| 189 params.quic_migrate_sessions_early, | 190 params.quic_migrate_sessions_early, |
| 191 params.quic_allow_server_migration, |
| 190 params.quic_force_hol_blocking, | 192 params.quic_force_hol_blocking, |
| 191 params.quic_connection_options, | 193 params.quic_connection_options, |
| 192 params.enable_token_binding), | 194 params.enable_token_binding), |
| 193 spdy_session_pool_(params.host_resolver, | 195 spdy_session_pool_(params.host_resolver, |
| 194 params.ssl_config_service, | 196 params.ssl_config_service, |
| 195 params.http_server_properties, | 197 params.http_server_properties, |
| 196 params.transport_security_state, | 198 params.transport_security_state, |
| 197 params.enable_spdy_ping_based_connection_checking, | 199 params.enable_spdy_ping_based_connection_checking, |
| 198 params.enable_priority_dependencies, | 200 params.enable_priority_dependencies, |
| 199 params.spdy_default_protocol, | 201 params.spdy_default_protocol, |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 case WEBSOCKET_SOCKET_POOL: | 398 case WEBSOCKET_SOCKET_POOL: |
| 397 return websocket_socket_pool_manager_.get(); | 399 return websocket_socket_pool_manager_.get(); |
| 398 default: | 400 default: |
| 399 NOTREACHED(); | 401 NOTREACHED(); |
| 400 break; | 402 break; |
| 401 } | 403 } |
| 402 return NULL; | 404 return NULL; |
| 403 } | 405 } |
| 404 | 406 |
| 405 } // namespace net | 407 } // namespace net |
| OLD | NEW |