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

Unified Diff: chrome/browser/about_flags.cc

Issue 1276233005: [WebMIDI] Add "use-android-midi-api" flag for Android M+ devices. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 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
« no previous file with comments | « chrome/browser/DEPS ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 5af309b3e287f8428d15a51abe9ded6813ecea85..cae14681acb171c23f394b05a0eb26eead95d65b 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -40,6 +40,7 @@
#include "components/version_info/version_info.h"
#include "content/public/browser/user_metrics.h"
#include "media/base/media_switches.h"
+#include "media/midi/midi_switches.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/ui_base_switches.h"
#include "ui/display/display_switches.h"
@@ -2020,6 +2021,11 @@ const Experiment kExperiments[] = {
kOsAndroid,
ENABLE_DISABLE_VALUE_TYPE(switches::kEnableNTPPopularSites,
switches::kDisableNTPPopularSites)},
+ {"use-android-midi-api",
+ IDS_FLAGS_USE_ANDROID_MIDI_API_NAME,
+ IDS_FLAGS_USE_ANDROID_MIDI_API_DESCRIPTION,
+ kOsAndroid,
+ SINGLE_VALUE_TYPE(switches::kUseAndroidMidiApi)},
#endif // defined(OS_ANDROID)
#if defined(OS_WIN)
{"trace-export-events-to-etw",
« no previous file with comments | « chrome/browser/DEPS ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698