| 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 1996 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2007 #if defined(OS_ANDROID) | 2007 #if defined(OS_ANDROID) |
| 2008 {"enable-vr-shell", IDS_FLAGS_ENABLE_VR_SHELL_NAME, | 2008 {"enable-vr-shell", IDS_FLAGS_ENABLE_VR_SHELL_NAME, |
| 2009 IDS_FLAGS_ENABLE_VR_SHELL_DESCRIPTION, kOsAndroid, | 2009 IDS_FLAGS_ENABLE_VR_SHELL_DESCRIPTION, kOsAndroid, |
| 2010 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableVrShell, | 2010 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableVrShell, |
| 2011 switches::kDisableVrShell)}, | 2011 switches::kDisableVrShell)}, |
| 2012 {"enable-android-pay-integration-v1", | 2012 {"enable-android-pay-integration-v1", |
| 2013 IDS_FLAGS_ENABLE_ANDROID_PAY_INTEGRATION_V1_NAME, | 2013 IDS_FLAGS_ENABLE_ANDROID_PAY_INTEGRATION_V1_NAME, |
| 2014 IDS_FLAGS_ENABLE_ANDROID_PAY_INTEGRATION_V1_DESCRIPTION, kOsAndroid, | 2014 IDS_FLAGS_ENABLE_ANDROID_PAY_INTEGRATION_V1_DESCRIPTION, kOsAndroid, |
| 2015 FEATURE_VALUE_TYPE(chrome::android::kAndroidPayIntegrationV1)}, | 2015 FEATURE_VALUE_TYPE(chrome::android::kAndroidPayIntegrationV1)}, |
| 2016 #endif | 2016 #endif |
| 2017 {"enable-weak-memorycache", IDS_FLAGS_ENABLE_WEAK_MEMORYCACHE_NAME, | |
| 2018 IDS_FLAGS_ENABLE_WEAK_MEMORYCACHE_DESCRIPTION, kOsAll, | |
| 2019 FEATURE_VALUE_TYPE(features::kWeakMemoryCache)}, | |
| 2020 #if defined(OS_CHROMEOS) | 2017 #if defined(OS_CHROMEOS) |
| 2021 {"disable-eol-notification", IDS_FLAGS_EOL_NOTIFICATION_NAME, | 2018 {"disable-eol-notification", IDS_FLAGS_EOL_NOTIFICATION_NAME, |
| 2022 IDS_FLAGS_EOL_NOTIFICATION_DESCRIPTION, kOsCrOS, | 2019 IDS_FLAGS_EOL_NOTIFICATION_DESCRIPTION, kOsCrOS, |
| 2023 SINGLE_DISABLE_VALUE_TYPE(chromeos::switches::kDisableEolNotification)}, | 2020 SINGLE_DISABLE_VALUE_TYPE(chromeos::switches::kDisableEolNotification)}, |
| 2024 #endif // defined(OS_CHROMEOS) | 2021 #endif // defined(OS_CHROMEOS) |
| 2025 {"fill-on-account-select", IDS_FILL_ON_ACCOUNT_SELECT_NAME, | 2022 {"fill-on-account-select", IDS_FILL_ON_ACCOUNT_SELECT_NAME, |
| 2026 IDS_FILL_ON_ACCOUNT_SELECT_DESCRIPTION, kOsAll, | 2023 IDS_FILL_ON_ACCOUNT_SELECT_DESCRIPTION, kOsAll, |
| 2027 FEATURE_VALUE_TYPE(password_manager::features::kFillOnAccountSelect)}, | 2024 FEATURE_VALUE_TYPE(password_manager::features::kFillOnAccountSelect)}, |
| 2028 {"new-audio-rendering-mixing-strategy", | 2025 {"new-audio-rendering-mixing-strategy", |
| 2029 IDS_NEW_AUDIO_RENDERING_MIXING_STRATEGY_NAME, | 2026 IDS_NEW_AUDIO_RENDERING_MIXING_STRATEGY_NAME, |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2225 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2222 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
| 2226 | 2223 |
| 2227 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2224 const FeatureEntry* GetFeatureEntries(size_t* count) { |
| 2228 *count = arraysize(kFeatureEntries); | 2225 *count = arraysize(kFeatureEntries); |
| 2229 return kFeatureEntries; | 2226 return kFeatureEntries; |
| 2230 } | 2227 } |
| 2231 | 2228 |
| 2232 } // namespace testing | 2229 } // namespace testing |
| 2233 | 2230 |
| 2234 } // namespace about_flags | 2231 } // namespace about_flags |
| OLD | NEW |