| 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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 quic_migrate_sessions_on_network_change(false), | 150 quic_migrate_sessions_on_network_change(false), |
| 151 quic_migrate_sessions_early(false), | 151 quic_migrate_sessions_early(false), |
| 152 quic_allow_server_migration(false), | 152 quic_allow_server_migration(false), |
| 153 quic_disable_bidirectional_streams(false), | 153 quic_disable_bidirectional_streams(false), |
| 154 quic_force_hol_blocking(false), | 154 quic_force_hol_blocking(false), |
| 155 quic_race_cert_verification(false), | 155 quic_race_cert_verification(false), |
| 156 quic_do_not_fragment(false), | 156 quic_do_not_fragment(false), |
| 157 proxy_delegate(nullptr), | 157 proxy_delegate(nullptr), |
| 158 enable_token_binding(false), | 158 enable_token_binding(false), |
| 159 http_09_on_non_default_ports_enabled(false), | 159 http_09_on_non_default_ports_enabled(false), |
| 160 restrict_to_one_preconnect_for_proxies(false) { | 160 restrict_to_one_preconnect_for_proxies(false), |
| 161 race_preconnects_to_http2_proxies(false) { |
| 161 quic_supported_versions.push_back(QUIC_VERSION_35); | 162 quic_supported_versions.push_back(QUIC_VERSION_35); |
| 162 } | 163 } |
| 163 | 164 |
| 164 HttpNetworkSession::Params::Params(const Params& other) = default; | 165 HttpNetworkSession::Params::Params(const Params& other) = default; |
| 165 | 166 |
| 166 HttpNetworkSession::Params::~Params() {} | 167 HttpNetworkSession::Params::~Params() {} |
| 167 | 168 |
| 168 // TODO(mbelshe): Move the socket factories into HttpStreamFactory. | 169 // TODO(mbelshe): Move the socket factories into HttpStreamFactory. |
| 169 HttpNetworkSession::HttpNetworkSession(const Params& params) | 170 HttpNetworkSession::HttpNetworkSession(const Params& params) |
| 170 : net_log_(params.net_log), | 171 : net_log_(params.net_log), |
| (...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 489 break; | 490 break; |
| 490 case base::MemoryState::SUSPENDED: | 491 case base::MemoryState::SUSPENDED: |
| 491 // Note: Not supported at present. Fall through. | 492 // Note: Not supported at present. Fall through. |
| 492 case base::MemoryState::UNKNOWN: | 493 case base::MemoryState::UNKNOWN: |
| 493 NOTREACHED(); | 494 NOTREACHED(); |
| 494 break; | 495 break; |
| 495 } | 496 } |
| 496 } | 497 } |
| 497 | 498 |
| 498 } // namespace net | 499 } // namespace net |
| OLD | NEW |