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

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: 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 false, net::BidirectionalStreamQuicImpl will not be used when
mef 2016/03/15 19:51:10 I think it should say 'If true'...
xunjieli 2016/03/15 20:15:20 Done.
Ryan Hamilton 2016/03/15 22:41:44 I think a better comment might be: // If true, th
xunjieli 2016/03/16 15:47:04 Done.
189 // requesting a net::BidirectionalStream.
190 bool disable_bidirectional_stream_quic_impl;
mef 2016/03/15 19:51:10 should we call it 'quic_disable_bidirectional_stre
xunjieli 2016/03/15 20:15:20 I am not sure. It isn't a feature of QUIC (but a f
Ryan Hamilton 2016/03/15 22:41:44 I like mef's name.
xunjieli 2016/03/16 15:47:04 Done. Great!
191
188 ProxyDelegate* proxy_delegate; 192 ProxyDelegate* proxy_delegate;
189 // Enable support for Token Binding. 193 // Enable support for Token Binding.
190 bool enable_token_binding; 194 bool enable_token_binding;
191 }; 195 };
192 196
193 enum SocketPoolType { 197 enum SocketPoolType {
194 NORMAL_SOCKET_POOL, 198 NORMAL_SOCKET_POOL,
195 WEBSOCKET_SOCKET_POOL, 199 WEBSOCKET_SOCKET_POOL,
196 NUM_SOCKET_POOL_TYPES 200 NUM_SOCKET_POOL_TYPES
197 }; 201 };
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 299
296 NextProtoVector next_protos_; 300 NextProtoVector next_protos_;
297 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; 301 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS];
298 302
299 Params params_; 303 Params params_;
300 }; 304 };
301 305
302 } // namespace net 306 } // namespace net
303 307
304 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 308 #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