| 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 2191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2202 }, | 2202 }, |
| 2203 #endif // defined(OS_CHROMEOS) | 2203 #endif // defined(OS_CHROMEOS) |
| 2204 { | 2204 { |
| 2205 "enable-data-reduction-proxy-lo-fi", | 2205 "enable-data-reduction-proxy-lo-fi", |
| 2206 IDS_FLAGS_ENABLE_DATA_REDUCTION_PROXY_LO_FI_NAME, | 2206 IDS_FLAGS_ENABLE_DATA_REDUCTION_PROXY_LO_FI_NAME, |
| 2207 IDS_FLAGS_ENABLE_DATA_REDUCTION_PROXY_LO_FI_DESCRIPTION, | 2207 IDS_FLAGS_ENABLE_DATA_REDUCTION_PROXY_LO_FI_DESCRIPTION, |
| 2208 kOsAll, | 2208 kOsAll, |
| 2209 SINGLE_VALUE_TYPE(data_reduction_proxy::switches:: | 2209 SINGLE_VALUE_TYPE(data_reduction_proxy::switches:: |
| 2210 kEnableDataReductionProxyLoFi) | 2210 kEnableDataReductionProxyLoFi) |
| 2211 }, | 2211 }, |
| 2212 { |
| 2213 "clear-data-reduction-proxy-data-savings", |
| 2214 IDS_FLAGS_DATA_REDUCTION_PROXY_RESET_SAVINGS_NAME, |
| 2215 IDS_FLAGS_DATA_REDUCTION_PROXY_RESET_SAVINGS_DESCRIPTION, |
| 2216 kOsAll, |
| 2217 SINGLE_VALUE_TYPE(data_reduction_proxy::switches:: |
| 2218 kClearDataReductionProxyDataSavings) |
| 2219 }, |
| 2212 #if defined(ENABLE_DATA_REDUCTION_PROXY_DEBUGGING) | 2220 #if defined(ENABLE_DATA_REDUCTION_PROXY_DEBUGGING) |
| 2213 { | 2221 { |
| 2214 "enable-data-reduction-proxy-bypass-warnings", | 2222 "enable-data-reduction-proxy-bypass-warnings", |
| 2215 IDS_FLAGS_ENABLE_DATA_REDUCTION_PROXY_BYPASS_WARNING_NAME, | 2223 IDS_FLAGS_ENABLE_DATA_REDUCTION_PROXY_BYPASS_WARNING_NAME, |
| 2216 IDS_FLAGS_ENABLE_DATA_REDUCTION_PROXY_BYPASS_WARNING_DESCRIPTION, | 2224 IDS_FLAGS_ENABLE_DATA_REDUCTION_PROXY_BYPASS_WARNING_DESCRIPTION, |
| 2217 kOsAndroid, | 2225 kOsAndroid, |
| 2218 SINGLE_VALUE_TYPE(data_reduction_proxy::switches:: | 2226 SINGLE_VALUE_TYPE(data_reduction_proxy::switches:: |
| 2219 kEnableDataReductionProxyBypassWarning) | 2227 kEnableDataReductionProxyBypassWarning) |
| 2220 }, | 2228 }, |
| 2221 #endif | 2229 #endif |
| (...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2871 } | 2879 } |
| 2872 | 2880 |
| 2873 const Experiment* GetExperiments(size_t* count) { | 2881 const Experiment* GetExperiments(size_t* count) { |
| 2874 *count = num_experiments; | 2882 *count = num_experiments; |
| 2875 return experiments; | 2883 return experiments; |
| 2876 } | 2884 } |
| 2877 | 2885 |
| 2878 } // namespace testing | 2886 } // namespace testing |
| 2879 | 2887 |
| 2880 } // namespace about_flags | 2888 } // namespace about_flags |
| OLD | NEW |