OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_featu
res.h" | 5 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_featu
res.h" |
6 | 6 |
7 namespace data_reduction_proxy { | 7 namespace data_reduction_proxy { |
8 namespace features { | 8 namespace features { |
9 | 9 |
10 // Enables the Data Reduction Proxy footer in the main menu on Android. | 10 // Enables the Data Reduction Proxy footer in the main menu on Android. |
11 const base::Feature kDataReductionMainMenu{"DataReductionProxyMainMenu", | 11 const base::Feature kDataReductionMainMenu{"DataReductionProxyMainMenu", |
12 base::FEATURE_DISABLED_BY_DEFAULT}; | 12 base::FEATURE_DISABLED_BY_DEFAULT}; |
13 | 13 |
14 // Enables the site breakdown on the Data Reduction Proxy settings page. | 14 // Enables the site breakdown on the Data Reduction Proxy settings page. |
15 const base::Feature kDataReductionSiteBreakdown{ | 15 const base::Feature kDataReductionSiteBreakdown{ |
16 "DataReductionProxySiteBreakdown", base::FEATURE_DISABLED_BY_DEFAULT}; | 16 "DataReductionProxySiteBreakdown", base::FEATURE_DISABLED_BY_DEFAULT}; |
17 | 17 |
| 18 // Enables a new version of the data reduction proxy protocol where the server |
| 19 // decides if a server-generated preview should be served. The previous |
| 20 // version required the client to make this decision. The new protocol relies |
| 21 // on updates primarily to the Chrome-Proxy-Accept-Transform header. |
| 22 const base::Feature kDataReductionProxyDecidesTransform{ |
| 23 "DataReductionProxyDecidesTransform", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 24 |
18 } // namespace features | 25 } // namespace features |
19 } // namespace data_reduction_proxy | 26 } // namespace data_reduction_proxy |
OLD | NEW |