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

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

Issue 1431723002: Add brotli content-encoding filter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed nits Created 5 years 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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 std::set<HostPortPair> forced_spdy_exclusions; 106 std::set<HostPortPair> forced_spdy_exclusions;
107 // Process Alt-Svc headers. 107 // Process Alt-Svc headers.
108 bool use_alternative_services; 108 bool use_alternative_services;
109 // Only honor alternative service entries which have a higher probability 109 // Only honor alternative service entries which have a higher probability
110 // than this value. 110 // than this value.
111 double alternative_service_probability_threshold; 111 double alternative_service_probability_threshold;
112 112
113 // Enables NPN support. Note that ALPN is always enabled. 113 // Enables NPN support. Note that ALPN is always enabled.
114 bool enable_npn; 114 bool enable_npn;
115 115
116 // Enables Brotli Content-Encoding support.
117 bool enable_brotli;
118
116 // Enables QUIC support. 119 // Enables QUIC support.
117 bool enable_quic; 120 bool enable_quic;
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.
124 bool quic_always_require_handshake_confirmation; 127 bool quic_always_require_handshake_confirmation;
125 // Disables QUIC connection pooling. 128 // Disables QUIC connection pooling.
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 291
289 NextProtoVector next_protos_; 292 NextProtoVector next_protos_;
290 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; 293 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS];
291 294
292 Params params_; 295 Params params_;
293 }; 296 };
294 297
295 } // namespace net 298 } // namespace net
296 299
297 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 300 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698