| Index: content/renderer/render_frame_impl.cc
|
| diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
|
| index 72cfa87b13848fd48e560cbb9c6ca6b9a8346e06..2151e6e25defb9a18fd89085fd2098463131b146 100644
|
| --- a/content/renderer/render_frame_impl.cc
|
| +++ b/content/renderer/render_frame_impl.cc
|
| @@ -21,6 +21,7 @@
|
| #include "base/time/time.h"
|
| #include "cc/base/switches.h"
|
| #include "content/child/appcache/appcache_dispatcher.h"
|
| +#include "content/child/bluetooth/web_bluetooth_impl.h"
|
| #include "content/child/permissions/permission_dispatcher.h"
|
| #include "content/child/plugin_messages.h"
|
| #include "content/child/quota_dispatcher.h"
|
| @@ -3822,6 +3823,15 @@ void RenderFrameImpl::unregisterProtocolHandler(const WebString& scheme,
|
| user_gesture));
|
| }
|
|
|
| +blink::WebBluetooth* RenderFrameImpl::bluetooth() {
|
| + if (!bluetooth_) {
|
| + bluetooth_.reset(new WebBluetoothImpl(
|
| + ChildThreadImpl::current()->thread_safe_sender(), routing_id_));
|
| + }
|
| +
|
| + return bluetooth_.get();
|
| +}
|
| +
|
| #if defined(ENABLE_WEBVR)
|
| blink::WebVRClient* RenderFrameImpl::webVRClient() {
|
| if (!vr_dispatcher_)
|
|
|