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

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: 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..b5013291e91f04984e9739af3a0a76bb6d5f422d 100644
--- a/chrome/browser/ui/startup/bad_flags_prompt.cc
+++ b/chrome/browser/ui/startup/bad_flags_prompt.cc
@@ -84,6 +84,11 @@ 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,
felt 2015/05/11 13:53:03 you might want to keep the extra blank line betwee
ortuno 2015/05/11 17:46:43 Done.
NULL
};

Powered by Google App Engine
This is Rietveld 408576698