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

Unified Diff: media/midi/midi_features.h

Issue 2352013002: MidiManagerWinrt as base::FeatureList feature (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: media/midi/midi_features.h
diff --git a/media/midi/midi_features.h b/media/midi/midi_features.h
new file mode 100644
index 0000000000000000000000000000000000000000..d7eebefc2a154c08feeb573eb23a56378288cf07
--- /dev/null
+++ b/media/midi/midi_features.h
@@ -0,0 +1,19 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef MEDIA_MIDI_MIDI_FEATURES_H_
+#define MEDIA_MIDI_MIDI_FEATURES_H_
+
+#include "base/feature_list.h"
+#include "media/midi/midi_export.h"
+
+namespace features {
+
+#if defined(OS_WIN)
+MIDI_EXPORT extern const base::Feature kUseWinrtMidiApi;
Takashi Toyoshima 2016/09/20 09:12:04 We do not use 'Use' or 'Enable' like prefix for th
Shao-Chuan Lee 2016/09/20 09:57:27 Now using kMidiManagerWinrt to stick with the clas
+#endif
+
+} // namespace features
+
+#endif // MEDIA_MIDI_MIDI_FEATURES_H_
Takashi Toyoshima 2016/09/20 09:12:04 Can we reuse midi_switches as media_switches does.
Shao-Chuan Lee 2016/09/20 09:57:27 As discussed offline, now moved to midi_switches u
« no previous file with comments | « media/midi/BUILD.gn ('k') | media/midi/midi_features.cc » ('j') | media/midi/midi_features.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698