Chromium Code Reviews| Index: media/midi/midi_switches.cc |
| diff --git a/media/midi/midi_switches.cc b/media/midi/midi_switches.cc |
| index 7ecd00c65865fdfa97ce8426823de4e85152722f..887c8a0fcffdc77dbc352213c5a22f5bdce2856c 100644 |
| --- a/media/midi/midi_switches.cc |
| +++ b/media/midi/midi_switches.cc |
| @@ -12,9 +12,17 @@ namespace switches { |
| const char kUseAndroidMidiApi[] = "use-android-midi-api"; |
| #endif |
| +} // namespace switches |
| + |
| +namespace media { |
|
Takashi Toyoshima
2016/10/26 21:29:54
ditto
Shao-Chuan Lee
2016/10/27 08:26:16
Done.
|
| +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 |
| +} // namespace media |