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

Unified Diff: chrome/common/chrome_switches.cc

Issue 1842643004: Add --disable-webusb-security flag for testing existing devices. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Renamed and refactored FindInWebUsbAllowedOrigins. Created 4 years, 9 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/common/chrome_switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 855d02574a0fc732fe70483d7570ac1931dbf6f4..135b1179a5fc986a9ae8f3eb2371f2ebdd5ae98f 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -336,6 +336,9 @@ const char kDisableSiteEngagementService[] = "disable-site-engagement-service";
const char kDisableWebNotificationCustomLayouts[] =
"disable-web-notification-custom-layouts";
+// Disables WebUSB's CORS-like checks for origin->device communication.
+const char kDisableWebUsbSecurity[] = "disable-webusb-security";
+
// Some tests seem to require the application to close when the last
// browser window is closed. Thus, we need a switch to force this behavior
// for ChromeOS Aura, disable "zero window mode".
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698