| 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 quic_max_recent_disabled_reasons(kQuicMaxRecentDisabledReasons), | 126 quic_max_recent_disabled_reasons(kQuicMaxRecentDisabledReasons), |
| 127 quic_threshold_public_resets_post_handshake(0), | 127 quic_threshold_public_resets_post_handshake(0), |
| 128 quic_threshold_timeouts_streams_open(0), | 128 quic_threshold_timeouts_streams_open(0), |
| 129 quic_close_sessions_on_ip_change(false), | 129 quic_close_sessions_on_ip_change(false), |
| 130 quic_idle_connection_timeout_seconds(kIdleConnectionTimeoutSeconds), | 130 quic_idle_connection_timeout_seconds(kIdleConnectionTimeoutSeconds), |
| 131 quic_disable_preconnect_if_0rtt(false), | 131 quic_disable_preconnect_if_0rtt(false), |
| 132 quic_migrate_sessions_on_network_change(false), | 132 quic_migrate_sessions_on_network_change(false), |
| 133 quic_migrate_sessions_early(false), | 133 quic_migrate_sessions_early(false), |
| 134 proxy_delegate(NULL), | 134 proxy_delegate(NULL), |
| 135 enable_token_binding(false) { | 135 enable_token_binding(false) { |
| 136 quic_supported_versions.push_back(QUIC_VERSION_27); | 136 quic_supported_versions.push_back(QUIC_VERSION_30); |
| 137 } | 137 } |
| 138 | 138 |
| 139 HttpNetworkSession::Params::Params(const Params& other) = default; | 139 HttpNetworkSession::Params::Params(const Params& other) = default; |
| 140 | 140 |
| 141 HttpNetworkSession::Params::~Params() {} | 141 HttpNetworkSession::Params::~Params() {} |
| 142 | 142 |
| 143 // TODO(mbelshe): Move the socket factories into HttpStreamFactory. | 143 // TODO(mbelshe): Move the socket factories into HttpStreamFactory. |
| 144 HttpNetworkSession::HttpNetworkSession(const Params& params) | 144 HttpNetworkSession::HttpNetworkSession(const Params& params) |
| 145 : net_log_(params.net_log), | 145 : net_log_(params.net_log), |
| 146 network_delegate_(params.network_delegate), | 146 network_delegate_(params.network_delegate), |
| (...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 386 case WEBSOCKET_SOCKET_POOL: | 386 case WEBSOCKET_SOCKET_POOL: |
| 387 return websocket_socket_pool_manager_.get(); | 387 return websocket_socket_pool_manager_.get(); |
| 388 default: | 388 default: |
| 389 NOTREACHED(); | 389 NOTREACHED(); |
| 390 break; | 390 break; |
| 391 } | 391 } |
| 392 return NULL; | 392 return NULL; |
| 393 } | 393 } |
| 394 | 394 |
| 395 } // namespace net | 395 } // namespace net |
| OLD | NEW |