Web MIDI: add dynamic MidiManager instantiation support for Linux
With this change, MidiService starts supporting dynamic MidiManager
instantiation. First, this enables it for Linux for a trial.
BUG=672793
Review-Url: https://codereview.chromium.org/2673423002
Cr-Commit-Position: refs/heads/master@{#449574}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 1679909..6114ca0 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -2202,6 +2202,11 @@
SINGLE_VALUE_TYPE(ash::switches::kAshForceEnablePalette)},
#endif // defined(OS_CHROMEOS)
+ {"enable-midi-manager-dynamic-instantiation",
+ IDS_FLAGS_ENABLE_MIDI_MANAGER_DYNAMIC_INSTANTIATION_NAME,
+ IDS_FLAGS_ENABLE_MIDI_MANAGER_DYNAMIC_INSTANTIATION_DESCRIPTION, kOsAll,
+ FEATURE_VALUE_TYPE(midi::features::kMidiManagerDynamicInstantiation)}
+
// NOTE: Adding new command-line switches requires adding corresponding
// entries to enum "LoginCustomFlags" in histograms.xml. See note in
// histograms.xml and don't forget to run AboutFlagsHistogramTest unit test.