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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
90 | 90 |
91 // Returns true if this client has the command line switch to enable Lo-Fi | 91 // Returns true if this client has the command line switch to enable Lo-Fi |
92 // mode always on. | 92 // mode always on. |
93 bool IsLoFiAlwaysOnViaFlags(); | 93 bool IsLoFiAlwaysOnViaFlags(); |
94 | 94 |
95 // Returns true if this client has the command line switch to enable Lo-Fi | 95 // Returns true if this client has the command line switch to enable Lo-Fi |
96 // mode only on cellular connections. | 96 // mode only on cellular connections. |
97 bool IsLoFiCellularOnlyViaFlags(); | 97 bool IsLoFiCellularOnlyViaFlags(); |
98 | 98 |
99 // Returns true if this client has the command line switch to enable Lo-Fi | 99 // Returns true if this client has the command line switch to enable Lo-Fi |
100 // mode only on slow connections. | 100 // mode on slow connections. |
megjablon
2017/04/25 23:10:36
Why this change?
dougarnett
2017/04/26 19:50:48
Done.
| |
101 bool IsLoFiSlowConnectionsOnlyViaFlags(); | 101 bool IsLoFiSlowConnectionsOnlyViaFlags(); |
102 | 102 |
103 // Returns true if this client has the command line switch to disable Lo-Fi | 103 // Returns true if this client has the command line switch to disable Lo-Fi |
104 // mode. | 104 // mode. |
105 bool IsLoFiDisabledViaFlags(); | 105 bool IsLoFiDisabledViaFlags(); |
106 | 106 |
107 // Returns true if this client has the command line switch to enable lite pages. | 107 // Returns true if this client has the command line switch to enable lite pages. |
108 // This means a preview should be requested instead of placeholders whenever | 108 // This means a preview should be requested instead of placeholders whenever |
109 // Lo-Fi mode is on. If Lite Pages are enabled via flags, they will always | 109 // Lo-Fi mode is on. If Lite Pages are enabled via flags, they will always |
110 // fallback to Lo-Fi placeholders. | 110 // fallback to Lo-Fi placeholders. |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
248 | 248 |
249 bool use_override_proxies_for_http_; | 249 bool use_override_proxies_for_http_; |
250 std::vector<DataReductionProxyServer> override_data_reduction_proxy_servers_; | 250 std::vector<DataReductionProxyServer> override_data_reduction_proxy_servers_; |
251 | 251 |
252 DISALLOW_COPY_AND_ASSIGN(DataReductionProxyParams); | 252 DISALLOW_COPY_AND_ASSIGN(DataReductionProxyParams); |
253 }; | 253 }; |
254 | 254 |
255 } // namespace data_reduction_proxy | 255 } // namespace data_reduction_proxy |
256 | 256 |
257 #endif // COMPONENTS_DATA_REDUCTION_PROXY_CORE_COMMON_DATA_REDUCTION_PROXY_PARA MS_H_ | 257 #endif // COMPONENTS_DATA_REDUCTION_PROXY_CORE_COMMON_DATA_REDUCTION_PROXY_PARA MS_H_ |
OLD | NEW |