Index: chrome/browser/ui/startup/bad_flags_prompt.cc |
diff --git a/chrome/browser/ui/startup/bad_flags_prompt.cc b/chrome/browser/ui/startup/bad_flags_prompt.cc |
index 9464a50d262b38893aef7ed8fa5c773fc968980a..ecab67341faa382fb7bac37d5f7ebc9461070505 100644 |
--- a/chrome/browser/ui/startup/bad_flags_prompt.cc |
+++ b/chrome/browser/ui/startup/bad_flags_prompt.cc |
@@ -93,6 +93,12 @@ void ShowBadFlagsPrompt(Browser* browser) { |
// the flag is enabled. |
switches::kEnableWebBluetooth, |
+ // This flag disables WebUSB's CORS-like checks for origin to device |
+ // communication, allowing any origin to ask the user for permission to |
+ // connect to a device. It is intended for manufacturers testing their |
+ // existing devices until https://crbug.com/598766 is implemented. |
+ switches::kDisableWebUsbSecurity, |
+ |
NULL |
}; |