Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(686)

Unified Diff: chrome/browser/about_flags.cc

Issue 460113006: Mac Video Capture: expose --enable-avfoundation as tristate in chrome://flags (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 6f2a3f18279c67608852de17cd6032dfd2ad8509..4273efb2d12c60285c9c54d94fc1979580b47788 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -489,6 +489,12 @@ const Experiment::Choice kEnableDropSyncCredentialChoices[] = {
password_manager::switches::kDisableDropSyncCredential, "" },
};
+const Experiment::Choice kEnableAVFoundationChoices[] = {
+ { IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" },
+ { IDS_GENERIC_EXPERIMENT_CHOICE_ENABLED, switches::kEnableAVFoundation, ""},
+ { IDS_GENERIC_EXPERIMENT_CHOICE_DISABLED, switches::kForceQTKit, ""}
+};
+
// RECORDING USER METRICS FOR FLAGS:
// -----------------------------------------------------------------------------
// The first line of the experiment is the internal name. If you'd like to
@@ -1214,7 +1220,7 @@ const Experiment kExperiments[] = {
IDS_FLAGS_ENABLE_AVFOUNDATION_NAME,
IDS_FLAGS_ENABLE_AVFOUNDATION_DESCRIPTION,
kOsMac,
- SINGLE_VALUE_TYPE(switches::kEnableAVFoundation)
+ MULTI_VALUE_TYPE(kEnableAVFoundationChoices)
},
#endif
{
« no previous file with comments | « no previous file | media/video/capture/mac/avfoundation_glue.mm » ('j') | media/video/capture/mac/avfoundation_glue.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698