Chromium Code Reviews| 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 |