OLD | NEW |
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 #include "chrome/browser/about_flags.h" | 5 #include "chrome/browser/about_flags.h" |
6 | 6 |
7 #include <iterator> | 7 #include <iterator> |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <utility> | 10 #include <utility> |
(...skipping 2184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2195 }, | 2195 }, |
2196 #endif // defined(OS_CHROMEOS) | 2196 #endif // defined(OS_CHROMEOS) |
2197 { | 2197 { |
2198 "enable-data-reduction-proxy-lo-fi", | 2198 "enable-data-reduction-proxy-lo-fi", |
2199 IDS_FLAGS_ENABLE_DATA_REDUCTION_PROXY_LO_FI_NAME, | 2199 IDS_FLAGS_ENABLE_DATA_REDUCTION_PROXY_LO_FI_NAME, |
2200 IDS_FLAGS_ENABLE_DATA_REDUCTION_PROXY_LO_FI_DESCRIPTION, | 2200 IDS_FLAGS_ENABLE_DATA_REDUCTION_PROXY_LO_FI_DESCRIPTION, |
2201 kOsAll, | 2201 kOsAll, |
2202 SINGLE_VALUE_TYPE(data_reduction_proxy::switches:: | 2202 SINGLE_VALUE_TYPE(data_reduction_proxy::switches:: |
2203 kEnableDataReductionProxyLoFi) | 2203 kEnableDataReductionProxyLoFi) |
2204 }, | 2204 }, |
| 2205 { |
| 2206 "clear-data-reduction-proxy-data-savings", |
| 2207 IDS_FLAGS_DATA_REDUCTION_PROXY_RESET_SAVINGS_NAME, |
| 2208 IDS_FLAGS_DATA_REDUCTION_PROXY_RESET_SAVINGS_DESCRIPTION, |
| 2209 kOsAll, |
| 2210 SINGLE_VALUE_TYPE(data_reduction_proxy::switches:: |
| 2211 kClearDataReductionProxyDataSavings) |
| 2212 }, |
2205 #if defined(ENABLE_DATA_REDUCTION_PROXY_DEBUGGING) | 2213 #if defined(ENABLE_DATA_REDUCTION_PROXY_DEBUGGING) |
2206 { | 2214 { |
2207 "enable-data-reduction-proxy-bypass-warnings", | 2215 "enable-data-reduction-proxy-bypass-warnings", |
2208 IDS_FLAGS_ENABLE_DATA_REDUCTION_PROXY_BYPASS_WARNING_NAME, | 2216 IDS_FLAGS_ENABLE_DATA_REDUCTION_PROXY_BYPASS_WARNING_NAME, |
2209 IDS_FLAGS_ENABLE_DATA_REDUCTION_PROXY_BYPASS_WARNING_DESCRIPTION, | 2217 IDS_FLAGS_ENABLE_DATA_REDUCTION_PROXY_BYPASS_WARNING_DESCRIPTION, |
2210 kOsAndroid, | 2218 kOsAndroid, |
2211 SINGLE_VALUE_TYPE(data_reduction_proxy::switches:: | 2219 SINGLE_VALUE_TYPE(data_reduction_proxy::switches:: |
2212 kEnableDataReductionProxyBypassWarning) | 2220 kEnableDataReductionProxyBypassWarning) |
2213 }, | 2221 }, |
2214 #endif | 2222 #endif |
(...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2864 } | 2872 } |
2865 | 2873 |
2866 const Experiment* GetExperiments(size_t* count) { | 2874 const Experiment* GetExperiments(size_t* count) { |
2867 *count = num_experiments; | 2875 *count = num_experiments; |
2868 return experiments; | 2876 return experiments; |
2869 } | 2877 } |
2870 | 2878 |
2871 } // namespace testing | 2879 } // namespace testing |
2872 | 2880 |
2873 } // namespace about_flags | 2881 } // namespace about_flags |
OLD | NEW |