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

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

Issue 2283393002: Use a field trial to decide if QUIC should attempt to prevent packet fragmentation. (Closed)
Patch Set: Rebase Created 4 years, 3 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 bool quic_migrate_sessions_early; 179 bool quic_migrate_sessions_early;
180 // If true, allows migration of QUIC connections to a server-specified 180 // If true, allows migration of QUIC connections to a server-specified
181 // alternate server address. 181 // alternate server address.
182 bool quic_allow_server_migration; 182 bool quic_allow_server_migration;
183 // If true, bidirectional streams over QUIC will be disabled. 183 // If true, bidirectional streams over QUIC will be disabled.
184 bool quic_disable_bidirectional_streams; 184 bool quic_disable_bidirectional_streams;
185 // If true, enable force HOL blocking. For measurement purposes. 185 // If true, enable force HOL blocking. For measurement purposes.
186 bool quic_force_hol_blocking; 186 bool quic_force_hol_blocking;
187 // If true, race cert verification with host resolution. 187 // If true, race cert verification with host resolution.
188 bool quic_race_cert_verification; 188 bool quic_race_cert_verification;
189 // If true, configure QUIC sockets to not fragment packets.
190 bool quic_do_not_fragment;
189 191
190 ProxyDelegate* proxy_delegate; 192 ProxyDelegate* proxy_delegate;
191 // Enable support for Token Binding. 193 // Enable support for Token Binding.
192 bool enable_token_binding; 194 bool enable_token_binding;
193 }; 195 };
194 196
195 enum SocketPoolType { 197 enum SocketPoolType {
196 NORMAL_SOCKET_POOL, 198 NORMAL_SOCKET_POOL,
197 WEBSOCKET_SOCKET_POOL, 199 WEBSOCKET_SOCKET_POOL,
198 NUM_SOCKET_POOL_TYPES 200 NUM_SOCKET_POOL_TYPES
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; 307 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS];
306 308
307 Params params_; 309 Params params_;
308 310
309 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; 311 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_;
310 }; 312 };
311 313
312 } // namespace net 314 } // namespace net
313 315
314 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 316 #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