| 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 1704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1715 MULTI_VALUE_TYPE(kReaderModeHeuristicsChoices)}, | 1715 MULTI_VALUE_TYPE(kReaderModeHeuristicsChoices)}, |
| 1716 #endif // OS_ANDROID | 1716 #endif // OS_ANDROID |
| 1717 #if defined(OS_ANDROID) | 1717 #if defined(OS_ANDROID) |
| 1718 {"enable-chrome-home", flag_descriptions::kChromeHomeName, | 1718 {"enable-chrome-home", flag_descriptions::kChromeHomeName, |
| 1719 flag_descriptions::kChromeHomeDescription, kOsAndroid, | 1719 flag_descriptions::kChromeHomeDescription, kOsAndroid, |
| 1720 FEATURE_VALUE_TYPE(chrome::android::kChromeHomeFeature)}, | 1720 FEATURE_VALUE_TYPE(chrome::android::kChromeHomeFeature)}, |
| 1721 {"enable-chrome-home-expand-button", | 1721 {"enable-chrome-home-expand-button", |
| 1722 flag_descriptions::kChromeHomeExpandButtonName, | 1722 flag_descriptions::kChromeHomeExpandButtonName, |
| 1723 flag_descriptions::kChromeHomeExpandButtonDescription, kOsAndroid, | 1723 flag_descriptions::kChromeHomeExpandButtonDescription, kOsAndroid, |
| 1724 FEATURE_VALUE_TYPE(chrome::android::kChromeHomeExpandButton)}, | 1724 FEATURE_VALUE_TYPE(chrome::android::kChromeHomeExpandButton)}, |
| 1725 {"enable-chrome-home-ntp-design", | |
| 1726 flag_descriptions::kChromeHomeNtpRedesignName, | |
| 1727 flag_descriptions::kChromeHomeNtpRedesignDescription, kOsAndroid, | |
| 1728 FEATURE_VALUE_TYPE(chrome::android::kChromeHomeNtpRedesign)}, | |
| 1729 #endif // OS_ANDROID | 1725 #endif // OS_ANDROID |
| 1730 #if defined(OS_ANDROID) | 1726 #if defined(OS_ANDROID) |
| 1731 {"enable-iph-demo-mode", flag_descriptions::kEnableIphDemoModeName, | 1727 {"enable-iph-demo-mode", flag_descriptions::kEnableIphDemoModeName, |
| 1732 flag_descriptions::kEnableIphDemoModeDescription, kOsAndroid, | 1728 flag_descriptions::kEnableIphDemoModeDescription, kOsAndroid, |
| 1733 FEATURE_VALUE_TYPE(feature_engagement_tracker::kIPHDemoMode)}, | 1729 FEATURE_VALUE_TYPE(feature_engagement_tracker::kIPHDemoMode)}, |
| 1734 #endif // OS_ANDROID | 1730 #endif // OS_ANDROID |
| 1735 {"num-raster-threads", flag_descriptions::kNumRasterThreadsName, | 1731 {"num-raster-threads", flag_descriptions::kNumRasterThreadsName, |
| 1736 flag_descriptions::kNumRasterThreadsDescription, kOsAll, | 1732 flag_descriptions::kNumRasterThreadsDescription, kOsAll, |
| 1737 MULTI_VALUE_TYPE(kNumRasterThreadsChoices)}, | 1733 MULTI_VALUE_TYPE(kNumRasterThreadsChoices)}, |
| 1738 {"enable-permission-action-reporting", | 1734 {"enable-permission-action-reporting", |
| (...skipping 1422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3161 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 3157 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
| 3162 | 3158 |
| 3163 const FeatureEntry* GetFeatureEntries(size_t* count) { | 3159 const FeatureEntry* GetFeatureEntries(size_t* count) { |
| 3164 *count = arraysize(kFeatureEntries); | 3160 *count = arraysize(kFeatureEntries); |
| 3165 return kFeatureEntries; | 3161 return kFeatureEntries; |
| 3166 } | 3162 } |
| 3167 | 3163 |
| 3168 } // namespace testing | 3164 } // namespace testing |
| 3169 | 3165 |
| 3170 } // namespace about_flags | 3166 } // namespace about_flags |
| OLD | NEW |