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

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: Make bi-directional stream unittests enable priority->dependency setting. 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 | « net/http/bidirectional_stream_unittest.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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 // Whether to enable Alt-Svc entries with hostname different than that of 99 // Whether to enable Alt-Svc entries with hostname different than that of
100 // the origin. 100 // the origin.
101 bool enable_alternative_service_with_different_host; 101 bool enable_alternative_service_with_different_host;
102 102
103 // Enables NPN support. Note that ALPN is always enabled. 103 // Enables NPN support. Note that ALPN is always enabled.
104 bool enable_npn; 104 bool enable_npn;
105 105
106 // Enables Brotli Content-Encoding support. 106 // Enables Brotli Content-Encoding support.
107 bool enable_brotli; 107 bool enable_brotli;
108 108
109 // Enable setting of HTTP/2 dependencies based on priority.
110 bool enable_priority_dependencies;
111
109 // Enables QUIC support. 112 // Enables QUIC support.
110 bool enable_quic; 113 bool enable_quic;
111 // Disable QUIC if a connection times out with open streams. 114 // Disable QUIC if a connection times out with open streams.
112 bool disable_quic_on_timeout_with_open_streams; 115 bool disable_quic_on_timeout_with_open_streams;
113 // Enables QUIC for proxies. 116 // Enables QUIC for proxies.
114 bool enable_quic_for_proxies; 117 bool enable_quic_for_proxies;
115 // Instruct QUIC to use consistent ephemeral ports when talking to 118 // Instruct QUIC to use consistent ephemeral ports when talking to
116 // the same server. 119 // the same server.
117 bool enable_quic_port_selection; 120 bool enable_quic_port_selection;
118 // Disables QUIC's 0-RTT behavior. 121 // Disables QUIC's 0-RTT behavior.
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 292
290 NextProtoVector next_protos_; 293 NextProtoVector next_protos_;
291 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; 294 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS];
292 295
293 Params params_; 296 Params params_;
294 }; 297 };
295 298
296 } // namespace net 299 } // namespace net
297 300
298 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 301 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_
OLDNEW
« no previous file with comments | « net/http/bidirectional_stream_unittest.cc ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698