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

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

Issue 1208933004: QUIC - disable QUIC under recent pathological connection errors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revised after fourth round of review feedback. Created 5 years, 5 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/browser/resources/net_internals/quic_view.html ('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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 float quic_packet_loss_threshold; 119 float quic_packet_loss_threshold;
120 int quic_socket_receive_buffer_size; 120 int quic_socket_receive_buffer_size;
121 HostPortPair origin_to_force_quic_on; 121 HostPortPair origin_to_force_quic_on;
122 QuicClock* quic_clock; // Will be owned by QuicStreamFactory. 122 QuicClock* quic_clock; // Will be owned by QuicStreamFactory.
123 QuicRandom* quic_random; 123 QuicRandom* quic_random;
124 size_t quic_max_packet_length; 124 size_t quic_max_packet_length;
125 std::string quic_user_agent_id; 125 std::string quic_user_agent_id;
126 bool enable_user_alternate_protocol_ports; 126 bool enable_user_alternate_protocol_ports;
127 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory; 127 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory;
128 QuicVersionVector quic_supported_versions; 128 QuicVersionVector quic_supported_versions;
129 int quic_max_recent_disabled_reasons;
130 int quic_threshold_public_resets_post_handshake;
131 int quic_threshold_timeouts_streams_open;
129 QuicTagVector quic_connection_options; 132 QuicTagVector quic_connection_options;
130 ProxyDelegate* proxy_delegate; 133 ProxyDelegate* proxy_delegate;
131 }; 134 };
132 135
133 enum SocketPoolType { 136 enum SocketPoolType {
134 NORMAL_SOCKET_POOL, 137 NORMAL_SOCKET_POOL,
135 WEBSOCKET_SOCKET_POOL, 138 WEBSOCKET_SOCKET_POOL,
136 NUM_SOCKET_POOL_TYPES 139 NUM_SOCKET_POOL_TYPES
137 }; 140 };
138 141
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 241
239 NextProtoVector next_protos_; 242 NextProtoVector next_protos_;
240 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; 243 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS];
241 244
242 Params params_; 245 Params params_;
243 }; 246 };
244 247
245 } // namespace net 248 } // namespace net
246 249
247 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 250 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_
OLDNEW
« no previous file with comments | « chrome/browser/resources/net_internals/quic_view.html ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698