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

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

Issue 1922403002: Move bool enable_brotli from HttpNetworkSession::Params (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: unittest fix Created 4 years, 7 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/profiles/profile_io_data.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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 SpdySessionPool::TimeFunc time_func; 96 SpdySessionPool::TimeFunc time_func;
97 // Whether to parse Alt-Svc headers. 97 // Whether to parse Alt-Svc headers.
98 bool parse_alternative_services; 98 bool parse_alternative_services;
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.
107 bool enable_brotli;
108
109 // Enable setting of HTTP/2 dependencies based on priority. 106 // Enable setting of HTTP/2 dependencies based on priority.
110 bool enable_priority_dependencies; 107 bool enable_priority_dependencies;
111 108
112 // Enables QUIC support. 109 // Enables QUIC support.
113 bool enable_quic; 110 bool enable_quic;
114 // Disable QUIC if a connection times out with open streams. 111 // Disable QUIC if a connection times out with open streams.
115 bool disable_quic_on_timeout_with_open_streams; 112 bool disable_quic_on_timeout_with_open_streams;
116 // Enables QUIC for proxies. 113 // Enables QUIC for proxies.
117 bool enable_quic_for_proxies; 114 bool enable_quic_for_proxies;
118 // Instruct QUIC to use consistent ephemeral ports when talking to 115 // Instruct QUIC to use consistent ephemeral ports when talking to
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 296
300 NextProtoVector next_protos_; 297 NextProtoVector next_protos_;
301 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; 298 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS];
302 299
303 Params params_; 300 Params params_;
304 }; 301 };
305 302
306 } // namespace net 303 } // namespace net
307 304
308 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 305 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_io_data.cc ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698