| 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 2000 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2011 #if defined(OS_ANDROID) | 2011 #if defined(OS_ANDROID) |
| 2012 {"enable-vr-shell", IDS_FLAGS_ENABLE_VR_SHELL_NAME, | 2012 {"enable-vr-shell", IDS_FLAGS_ENABLE_VR_SHELL_NAME, |
| 2013 IDS_FLAGS_ENABLE_VR_SHELL_DESCRIPTION, kOsAndroid, | 2013 IDS_FLAGS_ENABLE_VR_SHELL_DESCRIPTION, kOsAndroid, |
| 2014 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableVrShell, | 2014 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableVrShell, |
| 2015 switches::kDisableVrShell)}, | 2015 switches::kDisableVrShell)}, |
| 2016 {"enable-android-pay-integration-v1", | 2016 {"enable-android-pay-integration-v1", |
| 2017 IDS_FLAGS_ENABLE_ANDROID_PAY_INTEGRATION_V1_NAME, | 2017 IDS_FLAGS_ENABLE_ANDROID_PAY_INTEGRATION_V1_NAME, |
| 2018 IDS_FLAGS_ENABLE_ANDROID_PAY_INTEGRATION_V1_DESCRIPTION, kOsAndroid, | 2018 IDS_FLAGS_ENABLE_ANDROID_PAY_INTEGRATION_V1_DESCRIPTION, kOsAndroid, |
| 2019 FEATURE_VALUE_TYPE(chrome::android::kAndroidPayIntegrationV1)}, | 2019 FEATURE_VALUE_TYPE(chrome::android::kAndroidPayIntegrationV1)}, |
| 2020 #endif | 2020 #endif |
| 2021 {"enable-weak-memorycache", IDS_FLAGS_ENABLE_WEAK_MEMORYCACHE_NAME, | |
| 2022 IDS_FLAGS_ENABLE_WEAK_MEMORYCACHE_DESCRIPTION, kOsAll, | |
| 2023 FEATURE_VALUE_TYPE(features::kWeakMemoryCache)}, | |
| 2024 #if defined(OS_CHROMEOS) | 2021 #if defined(OS_CHROMEOS) |
| 2025 {"disable-eol-notification", IDS_FLAGS_EOL_NOTIFICATION_NAME, | 2022 {"disable-eol-notification", IDS_FLAGS_EOL_NOTIFICATION_NAME, |
| 2026 IDS_FLAGS_EOL_NOTIFICATION_DESCRIPTION, kOsCrOS, | 2023 IDS_FLAGS_EOL_NOTIFICATION_DESCRIPTION, kOsCrOS, |
| 2027 SINGLE_DISABLE_VALUE_TYPE(chromeos::switches::kDisableEolNotification)}, | 2024 SINGLE_DISABLE_VALUE_TYPE(chromeos::switches::kDisableEolNotification)}, |
| 2028 #endif // defined(OS_CHROMEOS) | 2025 #endif // defined(OS_CHROMEOS) |
| 2029 {"fill-on-account-select", IDS_FILL_ON_ACCOUNT_SELECT_NAME, | 2026 {"fill-on-account-select", IDS_FILL_ON_ACCOUNT_SELECT_NAME, |
| 2030 IDS_FILL_ON_ACCOUNT_SELECT_DESCRIPTION, kOsAll, | 2027 IDS_FILL_ON_ACCOUNT_SELECT_DESCRIPTION, kOsAll, |
| 2031 FEATURE_VALUE_TYPE(password_manager::features::kFillOnAccountSelect)}, | 2028 FEATURE_VALUE_TYPE(password_manager::features::kFillOnAccountSelect)}, |
| 2032 {"new-audio-rendering-mixing-strategy", | 2029 {"new-audio-rendering-mixing-strategy", |
| 2033 IDS_NEW_AUDIO_RENDERING_MIXING_STRATEGY_NAME, | 2030 IDS_NEW_AUDIO_RENDERING_MIXING_STRATEGY_NAME, |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2242 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2239 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
| 2243 | 2240 |
| 2244 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2241 const FeatureEntry* GetFeatureEntries(size_t* count) { |
| 2245 *count = arraysize(kFeatureEntries); | 2242 *count = arraysize(kFeatureEntries); |
| 2246 return kFeatureEntries; | 2243 return kFeatureEntries; |
| 2247 } | 2244 } |
| 2248 | 2245 |
| 2249 } // namespace testing | 2246 } // namespace testing |
| 2250 | 2247 |
| 2251 } // namespace about_flags | 2248 } // namespace about_flags |
| OLD | NEW |