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

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

Issue 605733006: Land Recent QUIC Changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert Patch Set 3 Created 6 years, 2 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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 // URLs to exclude from forced SPDY. 105 // URLs to exclude from forced SPDY.
106 std::set<HostPortPair> forced_spdy_exclusions; 106 std::set<HostPortPair> forced_spdy_exclusions;
107 // Noe: Using this in the case of NPN for HTTP only results in the browser 107 // Noe: Using this in the case of NPN for HTTP only results in the browser
108 // trying SSL and then falling back to http. 108 // trying SSL and then falling back to http.
109 bool use_alternate_protocols; 109 bool use_alternate_protocols;
110 double alternate_protocol_probability_threshold; 110 double alternate_protocol_probability_threshold;
111 bool enable_websocket_over_spdy; 111 bool enable_websocket_over_spdy;
112 112
113 bool enable_quic; 113 bool enable_quic;
114 bool enable_quic_port_selection; 114 bool enable_quic_port_selection;
115 bool enable_quic_time_based_loss_detection;
116 bool quic_always_require_handshake_confirmation; 115 bool quic_always_require_handshake_confirmation;
117 bool quic_disable_connection_pooling; 116 bool quic_disable_connection_pooling;
118 HostPortPair origin_to_force_quic_on; 117 HostPortPair origin_to_force_quic_on;
119 QuicClock* quic_clock; // Will be owned by QuicStreamFactory. 118 QuicClock* quic_clock; // Will be owned by QuicStreamFactory.
120 QuicRandom* quic_random; 119 QuicRandom* quic_random;
121 size_t quic_max_packet_length; 120 size_t quic_max_packet_length;
122 std::string quic_user_agent_id; 121 std::string quic_user_agent_id;
123 bool enable_user_alternate_protocol_ports; 122 bool enable_user_alternate_protocol_ports;
124 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory; 123 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory;
125 QuicVersionVector quic_supported_versions; 124 QuicVersionVector quic_supported_versions;
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 241
243 std::vector<std::string> next_protos_; 242 std::vector<std::string> next_protos_;
244 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; 243 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS];
245 244
246 Params params_; 245 Params params_;
247 }; 246 };
248 247
249 } // namespace net 248 } // namespace net
250 249
251 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 250 #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