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

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: 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: 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 e5199f1707ef87d2dd6e405321d694e913291d06..9471c91dd97f5a61e982eb65fcbfef6966130797 100644
--- a/content/shell/app/shell_main_delegate.cc
+++ b/content/shell/app/shell_main_delegate.cc
@@ -171,6 +171,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);
jochen (gone - plz use gerrit) 2015/05/15 06:11:33 layout test related flags should go into the layou
ortuno 2015/05/15 16:31:14 The purpose of this set of patches is to extract t
}
if (!command_line.HasSwitch(switches::kEnableThreadedCompositing)) {
« content/public/common/content_switches.h ('K') | « content/public/common/content_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698