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 1987 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1998 SINGLE_DISABLE_VALUE_TYPE(chromeos::switches::kDisableEolNotification)}, | 1998 SINGLE_DISABLE_VALUE_TYPE(chromeos::switches::kDisableEolNotification)}, |
1999 #endif // OS_CHROMEOS | 1999 #endif // OS_CHROMEOS |
2000 {"fill-on-account-select", IDS_FILL_ON_ACCOUNT_SELECT_NAME, | 2000 {"fill-on-account-select", IDS_FILL_ON_ACCOUNT_SELECT_NAME, |
2001 IDS_FILL_ON_ACCOUNT_SELECT_DESCRIPTION, kOsAll, | 2001 IDS_FILL_ON_ACCOUNT_SELECT_DESCRIPTION, kOsAll, |
2002 FEATURE_VALUE_TYPE(password_manager::features::kFillOnAccountSelect)}, | 2002 FEATURE_VALUE_TYPE(password_manager::features::kFillOnAccountSelect)}, |
2003 {"new-audio-rendering-mixing-strategy", | 2003 {"new-audio-rendering-mixing-strategy", |
2004 IDS_NEW_AUDIO_RENDERING_MIXING_STRATEGY_NAME, | 2004 IDS_NEW_AUDIO_RENDERING_MIXING_STRATEGY_NAME, |
2005 IDS_NEW_AUDIO_RENDERING_MIXING_STRATEGY_DESCRIPTION, | 2005 IDS_NEW_AUDIO_RENDERING_MIXING_STRATEGY_DESCRIPTION, |
2006 kOsWin | kOsMac | kOsLinux | kOsAndroid, | 2006 kOsWin | kOsMac | kOsLinux | kOsAndroid, |
2007 FEATURE_VALUE_TYPE(media::kNewAudioRenderingMixingStrategy)}, | 2007 FEATURE_VALUE_TYPE(media::kNewAudioRenderingMixingStrategy)}, |
| 2008 {"disable-background-video-track", |
| 2009 IDS_BACKGROUND_VIDEO_TRACK_OPTIMIZATION_NAME, |
| 2010 IDS_BACKGROUND_VIDEO_TRACK_OPTIMIZATION_DESCRIPTION, |
| 2011 kOsAll, |
| 2012 FEATURE_VALUE_TYPE(media::kBackgroundVideoTrackOptimization)}, |
2008 #if defined(OS_CHROMEOS) | 2013 #if defined(OS_CHROMEOS) |
2009 {"files-quick-view", IDS_FLAGS_FILES_QUICK_VIEW_NAME, | 2014 {"files-quick-view", IDS_FLAGS_FILES_QUICK_VIEW_NAME, |
2010 IDS_FLAGS_FILES_QUICK_VIEW_DESCRIPTION, kOsCrOS, | 2015 IDS_FLAGS_FILES_QUICK_VIEW_DESCRIPTION, kOsCrOS, |
2011 ENABLE_DISABLE_VALUE_TYPE(chromeos::switches::kEnableFilesQuickView, | 2016 ENABLE_DISABLE_VALUE_TYPE(chromeos::switches::kEnableFilesQuickView, |
2012 chromeos::switches::kDisableFilesQuickView)}, | 2017 chromeos::switches::kDisableFilesQuickView)}, |
2013 {"quick-unlock-pin", IDS_FLAGS_QUICK_UNLOCK_PIN, | 2018 {"quick-unlock-pin", IDS_FLAGS_QUICK_UNLOCK_PIN, |
2014 IDS_FLAGS_QUICK_UNLOCK_PIN_DESCRIPTION, kOsCrOS, | 2019 IDS_FLAGS_QUICK_UNLOCK_PIN_DESCRIPTION, kOsCrOS, |
2015 FEATURE_VALUE_TYPE(features::kQuickUnlockPin)}, | 2020 FEATURE_VALUE_TYPE(features::kQuickUnlockPin)}, |
2016 #endif // OS_CHROMEOS | 2021 #endif // OS_CHROMEOS |
2017 {"browser-task-scheduler", IDS_FLAGS_BROWSER_TASK_SCHEDULER_NAME, | 2022 {"browser-task-scheduler", IDS_FLAGS_BROWSER_TASK_SCHEDULER_NAME, |
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2318 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2323 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
2319 | 2324 |
2320 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2325 const FeatureEntry* GetFeatureEntries(size_t* count) { |
2321 *count = arraysize(kFeatureEntries); | 2326 *count = arraysize(kFeatureEntries); |
2322 return kFeatureEntries; | 2327 return kFeatureEntries; |
2323 } | 2328 } |
2324 | 2329 |
2325 } // namespace testing | 2330 } // namespace testing |
2326 | 2331 |
2327 } // namespace about_flags | 2332 } // namespace about_flags |
OLD | NEW |