OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_DATA_REDUCTION_PROXY_CORE_COMMON_DATA_REDUCTION_PROXY_PARAMS_
H_ | 5 #ifndef COMPONENTS_DATA_REDUCTION_PROXY_CORE_COMMON_DATA_REDUCTION_PROXY_PARAMS_
H_ |
6 #define COMPONENTS_DATA_REDUCTION_PROXY_CORE_COMMON_DATA_REDUCTION_PROXY_PARAMS_
H_ | 6 #define COMPONENTS_DATA_REDUCTION_PROXY_CORE_COMMON_DATA_REDUCTION_PROXY_PARAMS_
H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 | 120 |
121 // Returns true if this client is part of a field trial that sets the origin | 121 // Returns true if this client is part of a field trial that sets the origin |
122 // proxy server as quic://proxy.googlezip.net. | 122 // proxy server as quic://proxy.googlezip.net. |
123 bool IsIncludedInQuicFieldTrial(); | 123 bool IsIncludedInQuicFieldTrial(); |
124 | 124 |
125 const char* GetQuicFieldTrialName(); | 125 const char* GetQuicFieldTrialName(); |
126 | 126 |
127 // Returns true if zero RTT for QUIC is enabled. | 127 // Returns true if zero RTT for QUIC is enabled. |
128 bool IsZeroRttQuicEnabled(); | 128 bool IsZeroRttQuicEnabled(); |
129 | 129 |
| 130 // Returns true if QUIC is enabled for non core data reduction proxies. |
| 131 bool IsQuicForNonCoreProxiesEnabled(); |
| 132 |
130 // Returns true if Brotli should be added to the accept-encoding header. | 133 // Returns true if Brotli should be added to the accept-encoding header. |
131 bool IsBrotliAcceptEncodingEnabled(); | 134 bool IsBrotliAcceptEncodingEnabled(); |
132 | 135 |
133 // Returns true if the Data Reduction Proxy config client should be used. | 136 // Returns true if the Data Reduction Proxy config client should be used. |
134 bool IsConfigClientEnabled(); | 137 bool IsConfigClientEnabled(); |
135 | 138 |
136 // If the Data Reduction Proxy is used for a page load, the URL for the | 139 // If the Data Reduction Proxy is used for a page load, the URL for the |
137 // Data Reduction Proxy Pageload Metrics service. | 140 // Data Reduction Proxy Pageload Metrics service. |
138 GURL GetPingbackURL(); | 141 GURL GetPingbackURL(); |
139 | 142 |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 | 251 |
249 bool use_override_proxies_for_http_; | 252 bool use_override_proxies_for_http_; |
250 std::vector<DataReductionProxyServer> override_data_reduction_proxy_servers_; | 253 std::vector<DataReductionProxyServer> override_data_reduction_proxy_servers_; |
251 | 254 |
252 DISALLOW_COPY_AND_ASSIGN(DataReductionProxyParams); | 255 DISALLOW_COPY_AND_ASSIGN(DataReductionProxyParams); |
253 }; | 256 }; |
254 | 257 |
255 } // namespace data_reduction_proxy | 258 } // namespace data_reduction_proxy |
256 | 259 |
257 #endif // COMPONENTS_DATA_REDUCTION_PROXY_CORE_COMMON_DATA_REDUCTION_PROXY_PARA
MS_H_ | 260 #endif // COMPONENTS_DATA_REDUCTION_PROXY_CORE_COMMON_DATA_REDUCTION_PROXY_PARA
MS_H_ |
OLD | NEW |