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

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

Issue 2673423002: Web MIDI: add dynamic MidiManager instantiation support for Linux (Closed)
Patch Set: update metrics Created 3 years, 10 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 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 midi { 14 namespace midi {
15 namespace features { 15 namespace features {
16 16
17 #if defined(OS_ANDROID) 17 #if defined(OS_ANDROID)
18 MIDI_EXPORT extern const base::Feature kMidiManagerAndroid; 18 MIDI_EXPORT extern const base::Feature kMidiManagerAndroid;
19 #endif 19 #endif
20 20
21 #if defined(OS_WIN) 21 #if defined(OS_WIN)
22 MIDI_EXPORT extern const base::Feature kMidiManagerWinrt; 22 MIDI_EXPORT extern const base::Feature kMidiManagerWinrt;
23 #endif 23 #endif
24 24
25 MIDI_EXPORT extern const base::Feature kMidiManagerDynamicInstantiation;
26
25 } // namespace features 27 } // namespace features
26 } // namespace midi 28 } // namespace midi
27 29
28 #endif // MEDIA_MIDI_MIDI_SWITCHES_H_ 30 #endif // MEDIA_MIDI_MIDI_SWITCHES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698