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

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

Issue 2437943002: Ship WebBluetooth out of origin trial (Closed)
Patch Set: rebase and remove Bluetooth uuids 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 6cf646955b250812eebeab721dc699202f3fab74..44a8eb96125ffb09975aa561d361d891a3c2d95f 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -2178,8 +2178,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);
Rick Byers 2016/10/27 20:37:53 Note that this won't necessarily match blink's vie
juncai 2016/10/27 21:54:26 Done.
#if defined(OS_CHROMEOS) || defined(OS_ANDROID) || defined(OS_MACOSX)
enable_web_bluetooth = true;
#endif

Powered by Google App Engine
This is Rietveld 408576698