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

Unified Diff: chrome/browser/about_flags.cc

Issue 1289423002: Add webusb notification UI code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moved webusb::WebUsbDetector::GetInstance() call to chrome_browser_main.cc Created 5 years, 4 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: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 8119d48391c288c149d60d98d28520ce6baf3290..cc51d75b096f62989c3c8198f479388f0f5e64af 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -2145,6 +2145,13 @@ const Experiment kExperiments[] = {
kOsWin,
SINGLE_VALUE_TYPE(switches::kTraceExportEventsToETW)},
#endif // defined(OS_WIN)
+#if !defined(OS_ANDROID) && !defined(OS_IOS)
+ {"enable-webusb-notification",
+ IDS_FLAGS_ENABLE_WEBUSB_NOTIFICATION_NAME,
+ IDS_FLAGS_ENABLE_WEBUSB_NOTIFICATION_DESCRIPTION,
+ kOsDesktop,
+ SINGLE_VALUE_TYPE(switches::kEnableWebUsbNotification)},
+#endif
// NOTE: Adding new command-line switches requires adding corresponding
// entries to enum "LoginCustomFlags" in histograms.xml. See note in
// histograms.xml and don't forget to run AboutFlagsHistogramTest unit test.

Powered by Google App Engine
This is Rietveld 408576698