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

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

Issue 2124753005: Implements migration of a QUIC connection to a different destination address if specified by the se… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@write-error
Patch Set: fixing linker error. Created 4 years, 5 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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 // If true, disable preconnections if QUIC can do 0RTT. 169 // If true, disable preconnections if QUIC can do 0RTT.
170 bool quic_disable_preconnect_if_0rtt; 170 bool quic_disable_preconnect_if_0rtt;
171 // List of hosts for which QUIC is explicitly whitelisted. 171 // List of hosts for which QUIC is explicitly whitelisted.
172 std::unordered_set<std::string> quic_host_whitelist; 172 std::unordered_set<std::string> quic_host_whitelist;
173 // If true, active QUIC sessions may be migrated onto a new network when 173 // If true, active QUIC sessions may be migrated onto a new network when
174 // the platform indicates that the default network is changing. 174 // the platform indicates that the default network is changing.
175 bool quic_migrate_sessions_on_network_change; 175 bool quic_migrate_sessions_on_network_change;
176 // If true, active QUIC sessions experiencing poor connectivity may be 176 // If true, active QUIC sessions experiencing poor connectivity may be
177 // migrated onto a new network. 177 // migrated onto a new network.
178 bool quic_migrate_sessions_early; 178 bool quic_migrate_sessions_early;
179 // If true, allows migration of QUIC connections to a server-specified
180 // alternate server address.
181 bool quic_allow_server_migration;
179 // If true, bidirectional streams over QUIC will be disabled. 182 // If true, bidirectional streams over QUIC will be disabled.
180 bool quic_disable_bidirectional_streams; 183 bool quic_disable_bidirectional_streams;
181 // If true, enable force HOL blocking. For measurement purposes. 184 // If true, enable force HOL blocking. For measurement purposes.
182 bool quic_force_hol_blocking; 185 bool quic_force_hol_blocking;
183 186
184 ProxyDelegate* proxy_delegate; 187 ProxyDelegate* proxy_delegate;
185 // Enable support for Token Binding. 188 // Enable support for Token Binding.
186 bool enable_token_binding; 189 bool enable_token_binding;
187 }; 190 };
188 191
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 296
294 NextProtoVector next_protos_; 297 NextProtoVector next_protos_;
295 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; 298 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS];
296 299
297 Params params_; 300 Params params_;
298 }; 301 };
299 302
300 } // namespace net 303 } // namespace net
301 304
302 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 305 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_
OLDNEW
« no previous file with comments | « components/network_session_configurator/network_session_configurator_unittest.cc ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698