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 2175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2186 chromeos::switches::kEnableExperimentalAccessibilityFeatures)}, | 2186 chromeos::switches::kEnableExperimentalAccessibilityFeatures)}, |
2187 {"opt-in-ime-menu", flag_descriptions::kEnableImeMenuName, | 2187 {"opt-in-ime-menu", flag_descriptions::kEnableImeMenuName, |
2188 flag_descriptions::kEnableImeMenuDescription, kOsCrOS, | 2188 flag_descriptions::kEnableImeMenuDescription, kOsCrOS, |
2189 FEATURE_VALUE_TYPE(features::kOptInImeMenu)}, | 2189 FEATURE_VALUE_TYPE(features::kOptInImeMenu)}, |
2190 {"disable-system-timezone-automatic-detection", | 2190 {"disable-system-timezone-automatic-detection", |
2191 flag_descriptions::kDisableSystemTimezoneAutomaticDetectionName, | 2191 flag_descriptions::kDisableSystemTimezoneAutomaticDetectionName, |
2192 flag_descriptions::kDisableSystemTimezoneAutomaticDetectionDescription, | 2192 flag_descriptions::kDisableSystemTimezoneAutomaticDetectionDescription, |
2193 kOsCrOS, | 2193 kOsCrOS, |
2194 SINGLE_VALUE_TYPE( | 2194 SINGLE_VALUE_TYPE( |
2195 chromeos::switches::kDisableSystemTimezoneAutomaticDetectionPolicy)}, | 2195 chromeos::switches::kDisableSystemTimezoneAutomaticDetectionPolicy)}, |
2196 {"enable-native-cups", flag_descriptions::kEnableNativeCupsName, | 2196 {"disable-native-cups", flag_descriptions::kDisableNativeCupsName, |
2197 flag_descriptions::kEnableNativeCupsDescription, kOsCrOS, | 2197 flag_descriptions::kDisableNativeCupsDescription, kOsCrOS, |
2198 SINGLE_VALUE_TYPE(switches::kEnableNativeCups)}, | 2198 SINGLE_VALUE_TYPE(switches::kDisableNativeCups)}, |
2199 {"enable-encryption-migration", | 2199 {"enable-encryption-migration", |
2200 flag_descriptions::kEnableEncryptionMigrationName, | 2200 flag_descriptions::kEnableEncryptionMigrationName, |
2201 flag_descriptions::kEnableEncryptionMigrationDescription, kOsCrOS, | 2201 flag_descriptions::kEnableEncryptionMigrationDescription, kOsCrOS, |
2202 SINGLE_VALUE_TYPE(chromeos::switches::kEnableEncryptionMigration)}, | 2202 SINGLE_VALUE_TYPE(chromeos::switches::kEnableEncryptionMigration)}, |
2203 #endif // OS_CHROMEOS | 2203 #endif // OS_CHROMEOS |
2204 #if !defined(OS_ANDROID) && !defined(OS_IOS) && defined(GOOGLE_CHROME_BUILD) | 2204 #if !defined(OS_ANDROID) && !defined(OS_IOS) && defined(GOOGLE_CHROME_BUILD) |
2205 {"enable-google-branded-context-menu", | 2205 {"enable-google-branded-context-menu", |
2206 flag_descriptions::kGoogleBrandedContextMenuName, | 2206 flag_descriptions::kGoogleBrandedContextMenuName, |
2207 flag_descriptions::kGoogleBrandedContextMenuDescription, kOsDesktop, | 2207 flag_descriptions::kGoogleBrandedContextMenuDescription, kOsDesktop, |
2208 SINGLE_VALUE_TYPE(switches::kEnableGoogleBrandedContextMenu)}, | 2208 SINGLE_VALUE_TYPE(switches::kEnableGoogleBrandedContextMenu)}, |
(...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2823 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2823 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
2824 | 2824 |
2825 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2825 const FeatureEntry* GetFeatureEntries(size_t* count) { |
2826 *count = arraysize(kFeatureEntries); | 2826 *count = arraysize(kFeatureEntries); |
2827 return kFeatureEntries; | 2827 return kFeatureEntries; |
2828 } | 2828 } |
2829 | 2829 |
2830 } // namespace testing | 2830 } // namespace testing |
2831 | 2831 |
2832 } // namespace about_flags | 2832 } // namespace about_flags |
OLD | NEW |