| 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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 quic_migrate_sessions_on_network_change(false), | 149 quic_migrate_sessions_on_network_change(false), |
| 150 quic_migrate_sessions_early(false), | 150 quic_migrate_sessions_early(false), |
| 151 quic_allow_server_migration(false), | 151 quic_allow_server_migration(false), |
| 152 quic_disable_bidirectional_streams(false), | 152 quic_disable_bidirectional_streams(false), |
| 153 quic_force_hol_blocking(false), | 153 quic_force_hol_blocking(false), |
| 154 quic_race_cert_verification(false), | 154 quic_race_cert_verification(false), |
| 155 quic_do_not_fragment(false), | 155 quic_do_not_fragment(false), |
| 156 proxy_delegate(NULL), | 156 proxy_delegate(NULL), |
| 157 enable_token_binding(false), | 157 enable_token_binding(false), |
| 158 http_09_on_non_default_ports_enabled(false), | 158 http_09_on_non_default_ports_enabled(false), |
| 159 restrict_to_one_preconnect_for_proxies(false) { | 159 restrict_to_one_preconnect_for_proxies(false), |
| 160 race_preconnects_to_proxies(false) { |
| 160 quic_supported_versions.push_back(QUIC_VERSION_35); | 161 quic_supported_versions.push_back(QUIC_VERSION_35); |
| 161 } | 162 } |
| 162 | 163 |
| 163 HttpNetworkSession::Params::Params(const Params& other) = default; | 164 HttpNetworkSession::Params::Params(const Params& other) = default; |
| 164 | 165 |
| 165 HttpNetworkSession::Params::~Params() {} | 166 HttpNetworkSession::Params::~Params() {} |
| 166 | 167 |
| 167 // TODO(mbelshe): Move the socket factories into HttpStreamFactory. | 168 // TODO(mbelshe): Move the socket factories into HttpStreamFactory. |
| 168 HttpNetworkSession::HttpNetworkSession(const Params& params) | 169 HttpNetworkSession::HttpNetworkSession(const Params& params) |
| 169 : net_log_(params.net_log), | 170 : net_log_(params.net_log), |
| (...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 479 break; | 480 break; |
| 480 case base::MemoryState::SUSPENDED: | 481 case base::MemoryState::SUSPENDED: |
| 481 // Note: Not supported at present. Fall through. | 482 // Note: Not supported at present. Fall through. |
| 482 case base::MemoryState::UNKNOWN: | 483 case base::MemoryState::UNKNOWN: |
| 483 NOTREACHED(); | 484 NOTREACHED(); |
| 484 break; | 485 break; |
| 485 } | 486 } |
| 486 } | 487 } |
| 487 | 488 |
| 488 } // namespace net | 489 } // namespace net |
| OLD | NEW |