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

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

Issue 1779733003: Fix bug in net::RequestPriority -> HTTP/2 dependency conversion. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incorporate Bence's detailed comments. 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
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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 // Only honor alternative service entries which have a higher probability 104 // Only honor alternative service entries which have a higher probability
105 // than this value. 105 // than this value.
106 double alternative_service_probability_threshold; 106 double alternative_service_probability_threshold;
107 107
108 // Enables NPN support. Note that ALPN is always enabled. 108 // Enables NPN support. Note that ALPN is always enabled.
109 bool enable_npn; 109 bool enable_npn;
110 110
111 // Enables Brotli Content-Encoding support. 111 // Enables Brotli Content-Encoding support.
112 bool enable_brotli; 112 bool enable_brotli;
113 113
114 // Enable setting of HTTP/2 dependencies based on priority.
115 bool enable_priority_dependencies;
116
114 // Enables QUIC support. 117 // Enables QUIC support.
115 bool enable_quic; 118 bool enable_quic;
116 // Disable QUIC if a connection times out with open streams. 119 // Disable QUIC if a connection times out with open streams.
117 bool disable_quic_on_timeout_with_open_streams; 120 bool disable_quic_on_timeout_with_open_streams;
118 // Enables QUIC for proxies. 121 // Enables QUIC for proxies.
119 bool enable_quic_for_proxies; 122 bool enable_quic_for_proxies;
120 // Instruct QUIC to use consistent ephemeral ports when talking to 123 // Instruct QUIC to use consistent ephemeral ports when talking to
121 // the same server. 124 // the same server.
122 bool enable_quic_port_selection; 125 bool enable_quic_port_selection;
123 // Disables QUIC's 0-RTT behavior. 126 // Disables QUIC's 0-RTT behavior.
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 298
296 NextProtoVector next_protos_; 299 NextProtoVector next_protos_;
297 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; 300 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS];
298 301
299 Params params_; 302 Params params_;
300 }; 303 };
301 304
302 } // namespace net 305 } // namespace net
303 306
304 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 307 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698