| Index: content/renderer/renderer_blink_platform_impl.cc
|
| diff --git a/content/renderer/renderer_blink_platform_impl.cc b/content/renderer/renderer_blink_platform_impl.cc
|
| index 78ec284fed8bc2e69d3980559d15aeb9002ea429..584b17fae99d71d59a5146cedc78e0e6d5d36fc7 100644
|
| --- a/content/renderer/renderer_blink_platform_impl.cc
|
| +++ b/content/renderer/renderer_blink_platform_impl.cc
|
| @@ -14,6 +14,7 @@
|
| #include "base/numerics/safe_conversions.h"
|
| #include "base/strings/string_number_conversions.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| +#include "content/child/bluetooth/web_bluetooth_impl.h"
|
| #include "content/child/database_util.h"
|
| #include "content/child/file_info_util.h"
|
| #include "content/child/fileapi/webfilesystem_impl.h"
|
| @@ -231,7 +232,8 @@ RendererBlinkPlatformImpl::RendererBlinkPlatformImpl()
|
| sudden_termination_disables_(0),
|
| plugin_refresh_allowed_(true),
|
| child_thread_loop_(base::MessageLoopProxy::current()),
|
| - web_scrollbar_behavior_(new WebScrollbarBehaviorImpl) {
|
| + web_scrollbar_behavior_(new WebScrollbarBehaviorImpl),
|
| + bluetooth_(new WebBluetoothImpl) {
|
| if (g_sandbox_enabled && sandboxEnabled()) {
|
| sandbox_support_.reset(new RendererBlinkPlatformImpl::SandboxSupport);
|
| } else {
|
| @@ -1201,6 +1203,12 @@ void RendererBlinkPlatformImpl::queryStorageUsageAndQuota(
|
|
|
| //------------------------------------------------------------------------------
|
|
|
| +blink::WebBluetooth* RendererBlinkPlatformImpl::bluetooth() {
|
| + return bluetooth_.get();
|
| +}
|
| +
|
| +//------------------------------------------------------------------------------
|
| +
|
| void RendererBlinkPlatformImpl::MockBatteryStatusChangedForTesting(
|
| const blink::WebBatteryStatus& status) {
|
| if (!g_test_battery_status_listener)
|
|
|