Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(420)

Side by Side Diff: net/http/http_network_session.h

Issue 1613513003: Early connection migration in QUIC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@home
Patch Set: Typo fixed. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 #ifndef NET_HTTP_HTTP_NETWORK_SESSION_H_ 5 #ifndef NET_HTTP_HTTP_NETWORK_SESSION_H_
6 #define NET_HTTP_HTTP_NETWORK_SESSION_H_ 6 #define NET_HTTP_HTTP_NETWORK_SESSION_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 // Set of QUIC tags to send in the handshake's connection options. 179 // Set of QUIC tags to send in the handshake's connection options.
180 QuicTagVector quic_connection_options; 180 QuicTagVector quic_connection_options;
181 // If true, all QUIC sessions are closed when any local IP address changes. 181 // If true, all QUIC sessions are closed when any local IP address changes.
182 bool quic_close_sessions_on_ip_change; 182 bool quic_close_sessions_on_ip_change;
183 // Specifes QUIC idle connection state lifetime. 183 // Specifes QUIC idle connection state lifetime.
184 int quic_idle_connection_timeout_seconds; 184 int quic_idle_connection_timeout_seconds;
185 // If true, disable preconnections if QUIC can do 0RTT. 185 // If true, disable preconnections if QUIC can do 0RTT.
186 bool quic_disable_preconnect_if_0rtt; 186 bool quic_disable_preconnect_if_0rtt;
187 // List of hosts for which QUIC is explicitly whitelisted. 187 // List of hosts for which QUIC is explicitly whitelisted.
188 std::unordered_set<std::string> quic_host_whitelist; 188 std::unordered_set<std::string> quic_host_whitelist;
189 // If true, active QUIC sessions may be migrated onto new IPs when network 189 // If true, active QUIC sessions may be migrated onto a new network when
190 // changes. 190 // the platform indicates that the default network is changing.
191 bool quic_migrate_sessions_on_network_change; 191 bool quic_migrate_sessions_on_network_change;
192 // If true, active QUIC sessions experiencing poor connectivity may be
193 // migrated onto a new network.
194 bool quic_migrate_sessions_early;
192 ProxyDelegate* proxy_delegate; 195 ProxyDelegate* proxy_delegate;
193 // Enable support for Token Binding. 196 // Enable support for Token Binding.
194 bool enable_token_binding; 197 bool enable_token_binding;
195 }; 198 };
196 199
197 enum SocketPoolType { 200 enum SocketPoolType {
198 NORMAL_SOCKET_POOL, 201 NORMAL_SOCKET_POOL,
199 WEBSOCKET_SOCKET_POOL, 202 WEBSOCKET_SOCKET_POOL,
200 NUM_SOCKET_POOL_TYPES 203 NUM_SOCKET_POOL_TYPES
201 }; 204 };
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 306
304 NextProtoVector next_protos_; 307 NextProtoVector next_protos_;
305 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; 308 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS];
306 309
307 Params params_; 310 Params params_;
308 }; 311 };
309 312
310 } // namespace net 313 } // namespace net
311 314
312 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 315 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698