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

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

Issue 1699653002: Remove support for Alt-Svc/Alternate Protocol Probability (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix BIDI 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 | « ios/crnet/crnet_environment.mm ('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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 bool enable_http2; 94 bool enable_http2;
95 size_t spdy_session_max_recv_window_size; 95 size_t spdy_session_max_recv_window_size;
96 size_t spdy_stream_max_recv_window_size; 96 size_t spdy_stream_max_recv_window_size;
97 // Source of time for SPDY connections. 97 // Source of time for SPDY connections.
98 SpdySessionPool::TimeFunc time_func; 98 SpdySessionPool::TimeFunc time_func;
99 // Whether to parse Alt-Svc headers. 99 // Whether to parse Alt-Svc headers.
100 bool parse_alternative_services; 100 bool parse_alternative_services;
101 // Whether to enable Alt-Svc entries with hostname different than that of 101 // Whether to enable Alt-Svc entries with hostname different than that of
102 // the origin. 102 // the origin.
103 bool enable_alternative_service_with_different_host; 103 bool enable_alternative_service_with_different_host;
104 // Only honor alternative service entries which have a higher probability
105 // than this value.
106 double alternative_service_probability_threshold;
107 104
108 // Enables NPN support. Note that ALPN is always enabled. 105 // Enables NPN support. Note that ALPN is always enabled.
109 bool enable_npn; 106 bool enable_npn;
110 107
111 // Enables Brotli Content-Encoding support. 108 // Enables Brotli Content-Encoding support.
112 bool enable_brotli; 109 bool enable_brotli;
113 110
114 // Enables QUIC support. 111 // Enables QUIC support.
115 bool enable_quic; 112 bool enable_quic;
116 // Disable QUIC if a connection times out with open streams. 113 // Disable QUIC if a connection times out with open streams.
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 292
296 NextProtoVector next_protos_; 293 NextProtoVector next_protos_;
297 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; 294 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS];
298 295
299 Params params_; 296 Params params_;
300 }; 297 };
301 298
302 } // namespace net 299 } // namespace net
303 300
304 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 301 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_
OLDNEW
« no previous file with comments | « ios/crnet/crnet_environment.mm ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698