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

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

Issue 2352013002: MidiManagerWinrt as base::FeatureList feature (Closed)
Patch Set: fix histograms.xml Created 4 years, 3 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
« no previous file with comments | « media/midi/midi_switches.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "build/build_config.h" 5 #include "build/build_config.h"
6 #include "media/midi/midi_switches.h" 6 #include "media/midi/midi_switches.h"
7 7
8 namespace switches { 8 namespace switches {
9 9
10 #if defined(OS_ANDROID) 10 #if defined(OS_ANDROID)
11 // Use Android Midi API for WebMIDI 11 // Use Android Midi API for WebMIDI
12 const char kUseAndroidMidiApi[] = "use-android-midi-api"; 12 const char kUseAndroidMidiApi[] = "use-android-midi-api";
13 #endif 13 #endif
14 14
15 } // namespace switches
16
17 namespace media {
18 namespace midi {
19 namespace features {
20
15 #if defined(OS_WIN) 21 #if defined(OS_WIN)
16 // Use Windows Runtime MIDI API for WebMIDI 22 const base::Feature kMidiManagerWinrt{"MidiManagerWinrt",
17 const char kUseWinrtMidiApi[] = "use-winrt-midi-api"; 23 base::FEATURE_DISABLED_BY_DEFAULT};
18 #endif 24 #endif
19 25
20 } // namespace switches 26 } // namespace features
27 } // namespace midi
28 } // namespace media
OLDNEW
« no previous file with comments | « media/midi/midi_switches.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698