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 1833 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1844 {"drop-sync-credential", flag_descriptions::kDropSyncCredentialName, | 1844 {"drop-sync-credential", flag_descriptions::kDropSyncCredentialName, |
1845 flag_descriptions::kDropSyncCredentialDescription, kOsAll, | 1845 flag_descriptions::kDropSyncCredentialDescription, kOsAll, |
1846 FEATURE_VALUE_TYPE(password_manager::features::kDropSyncCredential)}, | 1846 FEATURE_VALUE_TYPE(password_manager::features::kDropSyncCredential)}, |
1847 #if !defined(OS_ANDROID) | 1847 #if !defined(OS_ANDROID) |
1848 {"enable-message-center-always-scroll-up-upon-notification-removal", | 1848 {"enable-message-center-always-scroll-up-upon-notification-removal", |
1849 flag_descriptions::kMessageCenterAlwaysScrollUpUponRemovalName, | 1849 flag_descriptions::kMessageCenterAlwaysScrollUpUponRemovalName, |
1850 flag_descriptions::kMessageCenterAlwaysScrollUpUponRemovalDescription, | 1850 flag_descriptions::kMessageCenterAlwaysScrollUpUponRemovalDescription, |
1851 kOsDesktop, | 1851 kOsDesktop, |
1852 SINGLE_VALUE_TYPE( | 1852 SINGLE_VALUE_TYPE( |
1853 switches::kEnableMessageCenterAlwaysScrollUpUponNotificationRemoval)}, | 1853 switches::kEnableMessageCenterAlwaysScrollUpUponNotificationRemoval)}, |
| 1854 {"enable-message-center-new-style-notification", |
| 1855 flag_descriptions::kMessageCenterNewStyleNotificationName, |
| 1856 flag_descriptions::kMessageCenterNewStyleNotificationDescription, |
| 1857 kOsDesktop, |
| 1858 ENABLE_DISABLE_VALUE_TYPE( |
| 1859 switches::kEnableMessageCenterNewStyleNotification, |
| 1860 switches::kDisableMessageCenterNewStyleNotification)}, |
1854 #endif // !OS_ANDROID | 1861 #endif // !OS_ANDROID |
1855 {"enable-md-policy-page", | 1862 {"enable-md-policy-page", |
1856 flag_descriptions::kEnableMaterialDesignPolicyPageName, | 1863 flag_descriptions::kEnableMaterialDesignPolicyPageName, |
1857 flag_descriptions::kEnableMaterialDesignPolicyPageDescription, kOsDesktop, | 1864 flag_descriptions::kEnableMaterialDesignPolicyPageDescription, kOsDesktop, |
1858 SINGLE_VALUE_TYPE(switches::kEnableMaterialDesignPolicyPage)}, | 1865 SINGLE_VALUE_TYPE(switches::kEnableMaterialDesignPolicyPage)}, |
1859 #if defined(OS_CHROMEOS) | 1866 #if defined(OS_CHROMEOS) |
1860 {"memory-pressure-thresholds", | 1867 {"memory-pressure-thresholds", |
1861 flag_descriptions::kMemoryPressureThresholdName, | 1868 flag_descriptions::kMemoryPressureThresholdName, |
1862 flag_descriptions::kMemoryPressureThresholdDescription, kOsCrOS, | 1869 flag_descriptions::kMemoryPressureThresholdDescription, kOsCrOS, |
1863 MULTI_VALUE_TYPE(kMemoryPressureThresholdChoices)}, | 1870 MULTI_VALUE_TYPE(kMemoryPressureThresholdChoices)}, |
(...skipping 1394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3258 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 3265 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
3259 | 3266 |
3260 const FeatureEntry* GetFeatureEntries(size_t* count) { | 3267 const FeatureEntry* GetFeatureEntries(size_t* count) { |
3261 *count = arraysize(kFeatureEntries); | 3268 *count = arraysize(kFeatureEntries); |
3262 return kFeatureEntries; | 3269 return kFeatureEntries; |
3263 } | 3270 } |
3264 | 3271 |
3265 } // namespace testing | 3272 } // namespace testing |
3266 | 3273 |
3267 } // namespace about_flags | 3274 } // namespace about_flags |
OLD | NEW |