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

Unified Diff: content/browser/frame_host/render_frame_host_impl.cc

Issue 2437943002: Ship WebBluetooth out of origin trial (Closed)
Patch Set: address comments Created 4 years, 2 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/browser/frame_host/render_frame_host_impl.cc
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
index e1348926806a53de700ac03507303cbefb966e30..53e03d23d6171b4927f4a39abbc5abfc64cd9c76 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -2224,8 +2224,10 @@ void RenderFrameHostImpl::RegisterMojoInterfaces() {
base::Bind(&device::VibrationManagerImpl::Create));
#endif // defined(OS_ANDROID)
+ // Web Bluetooth is shipped on Android, ChromeOS & MacOS, experimental
+ // otherwise.
bool enable_web_bluetooth = base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableWebBluetooth);
+ switches::kEnableExperimentalWebPlatformFeatures);
#if defined(OS_CHROMEOS) || defined(OS_ANDROID) || defined(OS_MACOSX)
enable_web_bluetooth = true;
#endif

Powered by Google App Engine
This is Rietveld 408576698