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

Unified Diff: chrome/browser/ui/startup/bad_flags_prompt.cc

Issue 1134473003: bluetooth: Add a WebBluetooth command line flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added comment to explain why we add the flag. Created 5 years, 7 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/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 69ab6588fd0c2e24c5d14eea4ca94f74e258a163..79a9f3bbb087a846a18cc0bb45ac1dd785987d36 100644
--- a/chrome/browser/ui/startup/bad_flags_prompt.cc
+++ b/chrome/browser/ui/startup/bad_flags_prompt.cc
@@ -84,6 +84,12 @@ void ShowBadFlagsPrompt(Browser* browser) {
// if they are not.
switches::kUnsafetyTreatInsecureOriginAsSecure,
+ // This flag enables Web Bluetooth. Since the UI for Web Bluetooth is
+ // not yet implemented, websites could take control over paired devices
+ // without the users knowledge, so we need to show a warning for when
+ // the flag is enabled.
+ switches::kEnableWebBluetooth,
+
NULL
};

Powered by Google App Engine
This is Rietveld 408576698