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

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: Address Ryan's comments 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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 // If true, disable preconnections if QUIC can do 0RTT. 178 // If true, disable preconnections if QUIC can do 0RTT.
179 bool quic_disable_preconnect_if_0rtt; 179 bool quic_disable_preconnect_if_0rtt;
180 // List of hosts for which QUIC is explicitly whitelisted. 180 // List of hosts for which QUIC is explicitly whitelisted.
181 std::unordered_set<std::string> quic_host_whitelist; 181 std::unordered_set<std::string> quic_host_whitelist;
182 // If true, active QUIC sessions may be migrated onto a new network when 182 // If true, active QUIC sessions may be migrated onto a new network when
183 // the platform indicates that the default network is changing. 183 // the platform indicates that the default network is changing.
184 bool quic_migrate_sessions_on_network_change; 184 bool quic_migrate_sessions_on_network_change;
185 // If true, active QUIC sessions experiencing poor connectivity may be 185 // If true, active QUIC sessions experiencing poor connectivity may be
186 // migrated onto a new network. 186 // migrated onto a new network.
187 bool quic_migrate_sessions_early; 187 bool quic_migrate_sessions_early;
188 // If true, bidirectional streams over QUIC will be disabled.
189 bool quic_disable_bidirectional_stream;
Ryan Hamilton 2016/03/16 20:47:10 Need to rename the variable, right?
xunjieli 2016/03/16 20:57:27 Done. Sorry, missed a part of your comment.
190
188 ProxyDelegate* proxy_delegate; 191 ProxyDelegate* proxy_delegate;
189 // Enable support for Token Binding. 192 // Enable support for Token Binding.
190 bool enable_token_binding; 193 bool enable_token_binding;
191 }; 194 };
192 195
193 enum SocketPoolType { 196 enum SocketPoolType {
194 NORMAL_SOCKET_POOL, 197 NORMAL_SOCKET_POOL,
195 WEBSOCKET_SOCKET_POOL, 198 WEBSOCKET_SOCKET_POOL,
196 NUM_SOCKET_POOL_TYPES 199 NUM_SOCKET_POOL_TYPES
197 }; 200 };
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 298
296 NextProtoVector next_protos_; 299 NextProtoVector next_protos_;
297 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; 300 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS];
298 301
299 Params params_; 302 Params params_;
300 }; 303 };
301 304
302 } // namespace net 305 } // namespace net
303 306
304 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 307 #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