Index: chrome/browser/about_flags.cc |
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc |
index 6f2a3f18279c67608852de17cd6032dfd2ad8509..5b96d2d3729073745facb01b0b85b4d865235e8b 100644 |
--- a/chrome/browser/about_flags.cc |
+++ b/chrome/browser/about_flags.cc |
@@ -489,6 +489,14 @@ const Experiment::Choice kEnableDropSyncCredentialChoices[] = { |
password_manager::switches::kDisableDropSyncCredential, "" }, |
}; |
+#if defined(OS_MACOSX) |
+const Experiment::Choice kEnableAVFoundationChoices[] = { |
+ { IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" }, |
+ { IDS_GENERIC_EXPERIMENT_CHOICE_ENABLED, switches::kEnableAVFoundation, ""}, |
+ { IDS_GENERIC_EXPERIMENT_CHOICE_DISABLED, switches::kForceQTKit, ""} |
+}; |
+#endif |
+ |
// RECORDING USER METRICS FOR FLAGS: |
// ----------------------------------------------------------------------------- |
// The first line of the experiment is the internal name. If you'd like to |
@@ -1214,7 +1222,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 |
{ |