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

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

Issue 1796253002: Add an option to disable net::BidirectionalStreamQuicImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 9 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
« no previous file with comments | « components/cronet/url_request_context_config.cc ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 // If true, disable preconnections if QUIC can do 0RTT. 175 // If true, disable preconnections if QUIC can do 0RTT.
176 bool quic_disable_preconnect_if_0rtt; 176 bool quic_disable_preconnect_if_0rtt;
177 // List of hosts for which QUIC is explicitly whitelisted. 177 // List of hosts for which QUIC is explicitly whitelisted.
178 std::unordered_set<std::string> quic_host_whitelist; 178 std::unordered_set<std::string> quic_host_whitelist;
179 // If true, active QUIC sessions may be migrated onto a new network when 179 // If true, active QUIC sessions may be migrated onto a new network when
180 // the platform indicates that the default network is changing. 180 // the platform indicates that the default network is changing.
181 bool quic_migrate_sessions_on_network_change; 181 bool quic_migrate_sessions_on_network_change;
182 // If true, active QUIC sessions experiencing poor connectivity may be 182 // If true, active QUIC sessions experiencing poor connectivity may be
183 // migrated onto a new network. 183 // migrated onto a new network.
184 bool quic_migrate_sessions_early; 184 bool quic_migrate_sessions_early;
185 // If true, bidirectional streams over QUIC will be disabled.
186 bool quic_disable_bidirectional_streams;
187
185 ProxyDelegate* proxy_delegate; 188 ProxyDelegate* proxy_delegate;
186 // Enable support for Token Binding. 189 // Enable support for Token Binding.
187 bool enable_token_binding; 190 bool enable_token_binding;
188 }; 191 };
189 192
190 enum SocketPoolType { 193 enum SocketPoolType {
191 NORMAL_SOCKET_POOL, 194 NORMAL_SOCKET_POOL,
192 WEBSOCKET_SOCKET_POOL, 195 WEBSOCKET_SOCKET_POOL,
193 NUM_SOCKET_POOL_TYPES 196 NUM_SOCKET_POOL_TYPES
194 }; 197 };
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 295
293 NextProtoVector next_protos_; 296 NextProtoVector next_protos_;
294 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; 297 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS];
295 298
296 Params params_; 299 Params params_;
297 }; 300 };
298 301
299 } // namespace net 302 } // namespace net
300 303
301 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 304 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_
OLDNEW
« no previous file with comments | « components/cronet/url_request_context_config.cc ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698