| 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 2608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2619 flag_descriptions::kVideoRotateToFullscreenName, | 2619 flag_descriptions::kVideoRotateToFullscreenName, |
| 2620 flag_descriptions::kVideoRotateToFullscreenDescription, kOsAndroid, | 2620 flag_descriptions::kVideoRotateToFullscreenDescription, kOsAndroid, |
| 2621 FEATURE_VALUE_TYPE(media::kVideoRotateToFullscreen)}, | 2621 FEATURE_VALUE_TYPE(media::kVideoRotateToFullscreen)}, |
| 2622 #endif | 2622 #endif |
| 2623 {"enable-nostate-prefetch", flag_descriptions::kNostatePrefetchName, | 2623 {"enable-nostate-prefetch", flag_descriptions::kNostatePrefetchName, |
| 2624 flag_descriptions::kNostatePrefetchDescription, kOsAll, | 2624 flag_descriptions::kNostatePrefetchDescription, kOsAll, |
| 2625 FEATURE_WITH_PARAMS_VALUE_TYPE(prerender::kNoStatePrefetchFeature, | 2625 FEATURE_WITH_PARAMS_VALUE_TYPE(prerender::kNoStatePrefetchFeature, |
| 2626 kNoStatePrefetchFeatureVariations, | 2626 kNoStatePrefetchFeatureVariations, |
| 2627 "NoStatePrefetchValidation")}, | 2627 "NoStatePrefetchValidation")}, |
| 2628 #if defined(OS_CHROMEOS) | 2628 #if defined(OS_CHROMEOS) |
| 2629 {"cros-comp-updates", flag_descriptions::kCrosCompUpdatesName, | |
| 2630 flag_descriptions::kCrosCompUpdatesDescription, kOsCrOS, | |
| 2631 FEATURE_VALUE_TYPE(features::kCrosCompUpdates)}, | |
| 2632 {"enable-android-wallpapers-app", | 2629 {"enable-android-wallpapers-app", |
| 2633 flag_descriptions::kEnableAndroidWallpapersAppName, | 2630 flag_descriptions::kEnableAndroidWallpapersAppName, |
| 2634 flag_descriptions::kEnableAndroidWallpapersAppDescription, kOsCrOS, | 2631 flag_descriptions::kEnableAndroidWallpapersAppDescription, kOsCrOS, |
| 2635 SINGLE_VALUE_TYPE(chromeos::switches::kEnableAndroidWallpapersApp)}, | 2632 SINGLE_VALUE_TYPE(chromeos::switches::kEnableAndroidWallpapersApp)}, |
| 2636 #endif // defined(OS_CHROMEOS) | 2633 #endif // defined(OS_CHROMEOS) |
| 2637 | 2634 |
| 2638 #if defined(OS_ANDROID) | 2635 #if defined(OS_ANDROID) |
| 2639 {"enable-expanded-autofill-credit-card-popup", | 2636 {"enable-expanded-autofill-credit-card-popup", |
| 2640 flag_descriptions::kEnableExpandedAutofillCreditCardPopupLayoutName, | 2637 flag_descriptions::kEnableExpandedAutofillCreditCardPopupLayoutName, |
| 2641 flag_descriptions::kEnableExpandedAutofillCreditCardPopupLayoutDescription, | 2638 flag_descriptions::kEnableExpandedAutofillCreditCardPopupLayoutDescription, |
| (...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3164 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 3161 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
| 3165 | 3162 |
| 3166 const FeatureEntry* GetFeatureEntries(size_t* count) { | 3163 const FeatureEntry* GetFeatureEntries(size_t* count) { |
| 3167 *count = arraysize(kFeatureEntries); | 3164 *count = arraysize(kFeatureEntries); |
| 3168 return kFeatureEntries; | 3165 return kFeatureEntries; |
| 3169 } | 3166 } |
| 3170 | 3167 |
| 3171 } // namespace testing | 3168 } // namespace testing |
| 3172 | 3169 |
| 3173 } // namespace about_flags | 3170 } // namespace about_flags |
| OLD | NEW |