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

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

Issue 1808303005: QUIC - extend origin-to-force-quic-on command line option to accept list (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed comments for Patch Set 1 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 | « chrome/common/chrome_switches.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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 // closed and is considered as a lossy connection. 139 // closed and is considered as a lossy connection.
140 float quic_packet_loss_threshold; 140 float quic_packet_loss_threshold;
141 // Size in bytes of the QUIC DUP socket receive buffer. 141 // Size in bytes of the QUIC DUP socket receive buffer.
142 int quic_socket_receive_buffer_size; 142 int quic_socket_receive_buffer_size;
143 // Delay starting a TCP connection when QUIC believes it can speak 143 // Delay starting a TCP connection when QUIC believes it can speak
144 // 0-RTT to a server. 144 // 0-RTT to a server.
145 bool quic_delay_tcp_race; 145 bool quic_delay_tcp_race;
146 // Maximum number of server configs that are to be stored in 146 // Maximum number of server configs that are to be stored in
147 // HttpServerProperties, instead of the disk cache. 147 // HttpServerProperties, instead of the disk cache.
148 size_t quic_max_server_configs_stored_in_properties; 148 size_t quic_max_server_configs_stored_in_properties;
149 // If not empty, QUIC will be used for all connections to this origin. 149 // If not empty, QUIC will be used for all connections to the set of
150 HostPortPair origin_to_force_quic_on; 150 // origins in |origins_to_force_quic_on|.
151 std::set<HostPortPair> origins_to_force_quic_on;
151 // Source of time for QUIC connections. Will be owned by QuicStreamFactory. 152 // Source of time for QUIC connections. Will be owned by QuicStreamFactory.
152 QuicClock* quic_clock; 153 QuicClock* quic_clock;
153 // Source of entropy for QUIC connections. 154 // Source of entropy for QUIC connections.
154 QuicRandom* quic_random; 155 QuicRandom* quic_random;
155 // Limit on the size of QUIC packets. 156 // Limit on the size of QUIC packets.
156 size_t quic_max_packet_length; 157 size_t quic_max_packet_length;
157 // User agent description to send in the QUIC handshake. 158 // User agent description to send in the QUIC handshake.
158 std::string quic_user_agent_id; 159 std::string quic_user_agent_id;
159 bool enable_user_alternate_protocol_ports; 160 bool enable_user_alternate_protocol_ports;
160 // Optional factory to use for creating QuicCryptoClientStreams. 161 // Optional factory to use for creating QuicCryptoClientStreams.
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 290
290 NextProtoVector next_protos_; 291 NextProtoVector next_protos_;
291 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; 292 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS];
292 293
293 Params params_; 294 Params params_;
294 }; 295 };
295 296
296 } // namespace net 297 } // namespace net
297 298
298 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 299 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698