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

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

Issue 2270583002: QUIC: Add packet_reader_yield_after_duration_milliseconds field trial param. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@new_master
Patch Set: Created 4 years, 4 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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory; 155 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory;
156 // Versions of QUIC which may be used. 156 // Versions of QUIC which may be used.
157 QuicVersionVector quic_supported_versions; 157 QuicVersionVector quic_supported_versions;
158 int quic_max_recent_disabled_reasons; 158 int quic_max_recent_disabled_reasons;
159 int quic_threshold_public_resets_post_handshake; 159 int quic_threshold_public_resets_post_handshake;
160 int quic_threshold_timeouts_streams_open; 160 int quic_threshold_timeouts_streams_open;
161 // Set of QUIC tags to send in the handshake's connection options. 161 // Set of QUIC tags to send in the handshake's connection options.
162 QuicTagVector quic_connection_options; 162 QuicTagVector quic_connection_options;
163 // If true, all QUIC sessions are closed when any local IP address changes. 163 // If true, all QUIC sessions are closed when any local IP address changes.
164 bool quic_close_sessions_on_ip_change; 164 bool quic_close_sessions_on_ip_change;
165 // Specifes QUIC idle connection state lifetime. 165 // Specifies QUIC idle connection state lifetime.
Ryan Hamilton 2016/08/23 02:21:34 Thanks!
166 int quic_idle_connection_timeout_seconds; 166 int quic_idle_connection_timeout_seconds;
167 // Specifies the maximum time duration that QUIC packet reader can perform
168 // consecutive packets reading.
169 int quic_packet_reader_yield_after_duration_milliseconds;
167 // If true, disable preconnections if QUIC can do 0RTT. 170 // If true, disable preconnections if QUIC can do 0RTT.
168 bool quic_disable_preconnect_if_0rtt; 171 bool quic_disable_preconnect_if_0rtt;
169 // List of hosts for which QUIC is explicitly whitelisted. 172 // List of hosts for which QUIC is explicitly whitelisted.
170 std::unordered_set<std::string> quic_host_whitelist; 173 std::unordered_set<std::string> quic_host_whitelist;
171 // If true, active QUIC sessions may be migrated onto a new network when 174 // If true, active QUIC sessions may be migrated onto a new network when
172 // the platform indicates that the default network is changing. 175 // the platform indicates that the default network is changing.
173 bool quic_migrate_sessions_on_network_change; 176 bool quic_migrate_sessions_on_network_change;
174 // If true, active QUIC sessions experiencing poor connectivity may be 177 // If true, active QUIC sessions experiencing poor connectivity may be
175 // migrated onto a new network. 178 // migrated onto a new network.
176 bool quic_migrate_sessions_early; 179 bool quic_migrate_sessions_early;
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; 305 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS];
303 306
304 Params params_; 307 Params params_;
305 308
306 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; 309 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_;
307 }; 310 };
308 311
309 } // namespace net 312 } // namespace net
310 313
311 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 314 #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