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

Side by Side Diff: media/midi/midi_switches.h

Issue 2450033003: Revert "Enable MidiManagerWinrt by default on Windows 10" (Closed)
Patch Set: Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Defines all the "midi" command-line switches. 5 // Defines all the "midi" command-line switches.
6 6
7 #ifndef MEDIA_MIDI_MIDI_SWITCHES_H_ 7 #ifndef MEDIA_MIDI_MIDI_SWITCHES_H_
8 #define MEDIA_MIDI_MIDI_SWITCHES_H_ 8 #define MEDIA_MIDI_MIDI_SWITCHES_H_
9 9
10 #include "base/feature_list.h" 10 #include "base/feature_list.h"
11 #include "build/build_config.h" 11 #include "build/build_config.h"
12 #include "media/midi/midi_export.h" 12 #include "media/midi/midi_export.h"
13 13
14 namespace switches { 14 namespace switches {
15 15
16 #if defined(OS_ANDROID) 16 #if defined(OS_ANDROID)
17 MIDI_EXPORT extern const char kUseAndroidMidiApi[]; 17 MIDI_EXPORT extern const char kUseAndroidMidiApi[];
18 #endif 18 #endif
19 19
20 #if defined(OS_WIN)
21 MIDI_EXPORT extern const char kDisableWinrtMidiApi[];
22 #endif
23
24 } // namespace switches 20 } // namespace switches
25 21
22 namespace media {
Takashi Toyoshima 2016/10/26 21:29:54 Ah, now we are not inside the media namespace any
Shao-Chuan Lee 2016/10/27 08:26:16 Done.
23 namespace midi {
24 namespace features {
25
26 #if defined(OS_WIN)
27 MIDI_EXPORT extern const base::Feature kMidiManagerWinrt;
28 #endif
29
30 } // namespace features
31 } // namespace midi
32 } // namespace media
33
26 #endif // MEDIA_MIDI_MIDI_SWITCHES_H_ 34 #endif // MEDIA_MIDI_MIDI_SWITCHES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698