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

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

Issue 1572753003: QUIC - Allow cronet apps to specify how many server configs are to be (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comments in Patch set 4 Created 4 years, 11 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 // a row after which QUIC will be disabled. 147 // a row after which QUIC will be disabled.
148 int quic_max_number_of_lossy_connections; 148 int quic_max_number_of_lossy_connections;
149 // Specifies packet loss rate in fraction after which a connection is 149 // Specifies packet loss rate in fraction after which a connection is
150 // closed and is considered as a lossy connection. 150 // closed and is considered as a lossy connection.
151 float quic_packet_loss_threshold; 151 float quic_packet_loss_threshold;
152 // Size in bytes of the QUIC DUP socket receive buffer. 152 // Size in bytes of the QUIC DUP socket receive buffer.
153 int quic_socket_receive_buffer_size; 153 int quic_socket_receive_buffer_size;
154 // Delay starting a TCP connection when QUIC believes it can speak 154 // Delay starting a TCP connection when QUIC believes it can speak
155 // 0-RTT to a server. 155 // 0-RTT to a server.
156 bool quic_delay_tcp_race; 156 bool quic_delay_tcp_race;
157 // Store server configs in HttpServerProperties, instead of the disk cache. 157 // Maximum number of server configs that are to be stored in
158 bool quic_store_server_configs_in_properties; 158 // HttpServerProperties, instead of the disk cache.
159 size_t quic_max_server_configs_stored_in_properties;
159 // If not empty, QUIC will be used for all connections to this origin. 160 // If not empty, QUIC will be used for all connections to this origin.
160 HostPortPair origin_to_force_quic_on; 161 HostPortPair origin_to_force_quic_on;
161 // Source of time for QUIC connections. Will be owned by QuicStreamFactory. 162 // Source of time for QUIC connections. Will be owned by QuicStreamFactory.
162 QuicClock* quic_clock; 163 QuicClock* quic_clock;
163 // Source of entropy for QUIC connections. 164 // Source of entropy for QUIC connections.
164 QuicRandom* quic_random; 165 QuicRandom* quic_random;
165 // Limit on the size of QUIC packets. 166 // Limit on the size of QUIC packets.
166 size_t quic_max_packet_length; 167 size_t quic_max_packet_length;
167 // User agent description to send in the QUIC handshake. 168 // User agent description to send in the QUIC handshake.
168 std::string quic_user_agent_id; 169 std::string quic_user_agent_id;
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 300
300 NextProtoVector next_protos_; 301 NextProtoVector next_protos_;
301 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; 302 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS];
302 303
303 Params params_; 304 Params params_;
304 }; 305 };
305 306
306 } // namespace net 307 } // namespace net
307 308
308 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 309 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_
OLDNEW
« no previous file with comments | « components/cronet/url_request_context_config_unittest.cc ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698