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

Unified Diff: media/midi/midi_switches.cc

Issue 2450033003: Revert "Enable MidiManagerWinrt by default on Windows 10" (Closed)
Patch Set: namespace change, rebase Created 4 years, 2 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
« no previous file with comments | « media/midi/midi_switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/midi/midi_switches.cc
diff --git a/media/midi/midi_switches.cc b/media/midi/midi_switches.cc
index 7ecd00c65865fdfa97ce8426823de4e85152722f..47ba28ea49c8132d1559588c170c4005a23bda8b 100644
--- a/media/midi/midi_switches.cc
+++ b/media/midi/midi_switches.cc
@@ -12,9 +12,15 @@ namespace switches {
const char kUseAndroidMidiApi[] = "use-android-midi-api";
#endif
+} // namespace switches
+
+namespace midi {
+namespace features {
+
#if defined(OS_WIN)
-// Disable Windows Runtime Midi API for WebMIDI
-const char kDisableWinrtMidiApi[] = "disable-winrt-midi-api";
+const base::Feature kMidiManagerWinrt{"MidiManagerWinrt",
+ base::FEATURE_DISABLED_BY_DEFAULT};
#endif
-} // namespace switches
+} // namespace features
+} // namespace midi
« no previous file with comments | « media/midi/midi_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698