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

Unified Diff: content/shell/app/shell_main_delegate.cc

Issue 1134473003: bluetooth: Add a WebBluetooth command line flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add to flag to histogram 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
« no previous file with comments | « content/public/common/content_switches.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/app/shell_main_delegate.cc
diff --git a/content/shell/app/shell_main_delegate.cc b/content/shell/app/shell_main_delegate.cc
index a0d512812f489cc8dab90ba4b1502035df5aeb79..f62d032dac20f8964f7299f954d8dbe3ad9abbd3 100644
--- a/content/shell/app/shell_main_delegate.cc
+++ b/content/shell/app/shell_main_delegate.cc
@@ -173,6 +173,8 @@ bool ShellMainDelegate::BasicStartupComplete(int* exit_code) {
if (!command_line.HasSwitch(switches::kStableReleaseMode)) {
command_line.AppendSwitch(
switches::kEnableExperimentalWebPlatformFeatures);
+ // Only enable WebBluetooth during Layout Tests in non release mode.
+ command_line.AppendSwitch(switches::kEnableWebBluetooth);
}
if (!command_line.HasSwitch(switches::kEnableThreadedCompositing)) {
« no previous file with comments | « content/public/common/content_switches.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698