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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 quic_disable_preconnect_if_0rtt(false), | 123 quic_disable_preconnect_if_0rtt(false), |
124 quic_migrate_sessions_on_network_change(false), | 124 quic_migrate_sessions_on_network_change(false), |
125 quic_migrate_sessions_early(false), | 125 quic_migrate_sessions_early(false), |
126 quic_allow_server_migration(false), | 126 quic_allow_server_migration(false), |
127 quic_disable_bidirectional_streams(false), | 127 quic_disable_bidirectional_streams(false), |
128 quic_force_hol_blocking(false), | 128 quic_force_hol_blocking(false), |
129 quic_race_cert_verification(false), | 129 quic_race_cert_verification(false), |
130 quic_do_not_fragment(false), | 130 quic_do_not_fragment(false), |
131 proxy_delegate(NULL), | 131 proxy_delegate(NULL), |
132 enable_token_binding(false), | 132 enable_token_binding(false), |
133 http_09_on_non_default_ports_enabled(false) { | 133 http_09_on_non_default_ports_enabled(false), |
| 134 restrict_to_one_preconnect_for_proxies(false) { |
134 quic_supported_versions.push_back(QUIC_VERSION_35); | 135 quic_supported_versions.push_back(QUIC_VERSION_35); |
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() {} |
140 | 141 |
141 // TODO(mbelshe): Move the socket factories into HttpStreamFactory. | 142 // TODO(mbelshe): Move the socket factories into HttpStreamFactory. |
142 HttpNetworkSession::HttpNetworkSession(const Params& params) | 143 HttpNetworkSession::HttpNetworkSession(const Params& params) |
143 : net_log_(params.net_log), | 144 : net_log_(params.net_log), |
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
453 break; | 454 break; |
454 case base::MemoryState::SUSPENDED: | 455 case base::MemoryState::SUSPENDED: |
455 // Note: Not supported at present. Fall through. | 456 // Note: Not supported at present. Fall through. |
456 case base::MemoryState::UNKNOWN: | 457 case base::MemoryState::UNKNOWN: |
457 NOTREACHED(); | 458 NOTREACHED(); |
458 break; | 459 break; |
459 } | 460 } |
460 } | 461 } |
461 | 462 |
462 } // namespace net | 463 } // namespace net |
OLD | NEW |