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

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

Issue 1025573002: QUIC - disable QUIC if packet loss rate is bad for a connection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed comments for Patch Set 7 Created 5 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 | « no previous file | 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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 113
114 bool enable_quic; 114 bool enable_quic;
115 bool enable_quic_for_proxies; 115 bool enable_quic_for_proxies;
116 bool enable_quic_port_selection; 116 bool enable_quic_port_selection;
117 bool quic_always_require_handshake_confirmation; 117 bool quic_always_require_handshake_confirmation;
118 bool quic_disable_connection_pooling; 118 bool quic_disable_connection_pooling;
119 float quic_load_server_info_timeout_srtt_multiplier; 119 float quic_load_server_info_timeout_srtt_multiplier;
120 bool quic_enable_connection_racing; 120 bool quic_enable_connection_racing;
121 bool quic_enable_non_blocking_io; 121 bool quic_enable_non_blocking_io;
122 bool quic_disable_disk_cache; 122 bool quic_disable_disk_cache;
123 int quic_max_number_of_lossy_connections;
124 float quic_packet_loss_threshold;
123 int quic_socket_receive_buffer_size; 125 int quic_socket_receive_buffer_size;
124 HostPortPair origin_to_force_quic_on; 126 HostPortPair origin_to_force_quic_on;
125 QuicClock* quic_clock; // Will be owned by QuicStreamFactory. 127 QuicClock* quic_clock; // Will be owned by QuicStreamFactory.
126 QuicRandom* quic_random; 128 QuicRandom* quic_random;
127 size_t quic_max_packet_length; 129 size_t quic_max_packet_length;
128 std::string quic_user_agent_id; 130 std::string quic_user_agent_id;
129 bool enable_user_alternate_protocol_ports; 131 bool enable_user_alternate_protocol_ports;
130 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory; 132 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory;
131 QuicVersionVector quic_supported_versions; 133 QuicVersionVector quic_supported_versions;
132 QuicTagVector quic_connection_options; 134 QuicTagVector quic_connection_options;
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 251
250 NextProtoVector next_protos_; 252 NextProtoVector next_protos_;
251 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; 253 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS];
252 254
253 Params params_; 255 Params params_;
254 }; 256 };
255 257
256 } // namespace net 258 } // namespace net
257 259
258 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 260 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_
OLDNEW
« no previous file with comments | « no previous file | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698