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 1924 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1935 #endif // OS_MACOSX | 1935 #endif // OS_MACOSX |
1936 {"data-reduction-proxy-lo-fi", | 1936 {"data-reduction-proxy-lo-fi", |
1937 flag_descriptions::kDataReductionProxyLoFiName, | 1937 flag_descriptions::kDataReductionProxyLoFiName, |
1938 flag_descriptions::kDataReductionProxyLoFiDescription, kOsAll, | 1938 flag_descriptions::kDataReductionProxyLoFiDescription, kOsAll, |
1939 MULTI_VALUE_TYPE(kDataReductionProxyLoFiChoices)}, | 1939 MULTI_VALUE_TYPE(kDataReductionProxyLoFiChoices)}, |
1940 {"enable-data-reduction-proxy-lite-page", | 1940 {"enable-data-reduction-proxy-lite-page", |
1941 flag_descriptions::kEnableDataReductionProxyLitePageName, | 1941 flag_descriptions::kEnableDataReductionProxyLitePageName, |
1942 flag_descriptions::kEnableDataReductionProxyLitePageDescription, kOsAll, | 1942 flag_descriptions::kEnableDataReductionProxyLitePageDescription, kOsAll, |
1943 SINGLE_VALUE_TYPE( | 1943 SINGLE_VALUE_TYPE( |
1944 data_reduction_proxy::switches::kEnableDataReductionProxyLitePage)}, | 1944 data_reduction_proxy::switches::kEnableDataReductionProxyLitePage)}, |
| 1945 {"enable-stale-previews-timestamp", |
| 1946 flag_descriptions::kEnableStalePreviewsName, |
| 1947 flag_descriptions::kEnableStalePreviewsDescription, kOsAll, |
| 1948 FEATURE_VALUE_TYPE(previews::features::kStalePreviewsTimestamp)}, |
1945 {"enable-data-reduction-proxy-server-experiment", | 1949 {"enable-data-reduction-proxy-server-experiment", |
1946 flag_descriptions::kEnableDataReductionProxyServerExperimentName, | 1950 flag_descriptions::kEnableDataReductionProxyServerExperimentName, |
1947 flag_descriptions::kEnableDataReductionProxyServerExperimentDescription, | 1951 flag_descriptions::kEnableDataReductionProxyServerExperimentDescription, |
1948 kOsAll, MULTI_VALUE_TYPE(kDataReductionProxyServerExperiment)}, | 1952 kOsAll, MULTI_VALUE_TYPE(kDataReductionProxyServerExperiment)}, |
1949 #if defined(OS_ANDROID) | 1953 #if defined(OS_ANDROID) |
1950 {"enable-data-reduction-proxy-savings-promo", | 1954 {"enable-data-reduction-proxy-savings-promo", |
1951 flag_descriptions::kEnableDataReductionProxySavingsPromoName, | 1955 flag_descriptions::kEnableDataReductionProxySavingsPromoName, |
1952 flag_descriptions::kEnableDataReductionProxySavingsPromoDescription, | 1956 flag_descriptions::kEnableDataReductionProxySavingsPromoDescription, |
1953 kOsAndroid, | 1957 kOsAndroid, |
1954 SINGLE_VALUE_TYPE(data_reduction_proxy::switches:: | 1958 SINGLE_VALUE_TYPE(data_reduction_proxy::switches:: |
(...skipping 1354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3309 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 3313 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
3310 | 3314 |
3311 const FeatureEntry* GetFeatureEntries(size_t* count) { | 3315 const FeatureEntry* GetFeatureEntries(size_t* count) { |
3312 *count = arraysize(kFeatureEntries); | 3316 *count = arraysize(kFeatureEntries); |
3313 return kFeatureEntries; | 3317 return kFeatureEntries; |
3314 } | 3318 } |
3315 | 3319 |
3316 } // namespace testing | 3320 } // namespace testing |
3317 | 3321 |
3318 } // namespace about_flags | 3322 } // namespace about_flags |
OLD | NEW |