Index: content/test/layouttest_support.cc |
diff --git a/content/test/layouttest_support.cc b/content/test/layouttest_support.cc |
index 07602435dad040f1eae011e3cef1c4122b757766..8b4dce357813a25f84cc96ee441fee189393abb3 100644 |
--- a/content/test/layouttest_support.cc |
+++ b/content/test/layouttest_support.cc |
@@ -15,7 +15,6 @@ |
#include "components/test_runner/test_common.h" |
#include "components/test_runner/web_frame_test_proxy.h" |
#include "components/test_runner/web_test_proxy.h" |
-#include "content/browser/bluetooth/bluetooth_adapter_factory_wrapper.h" |
#include "content/browser/renderer_host/render_process_host_impl.h" |
#include "content/browser/renderer_host/render_widget_host_impl.h" |
#include "content/common/site_isolation_policy.h" |
@@ -29,7 +28,6 @@ |
#include "content/renderer/render_view_impl.h" |
#include "content/renderer/renderer_blink_platform_impl.h" |
#include "content/shell/common/shell_switches.h" |
-#include "device/bluetooth/bluetooth_adapter.h" |
#include "gpu/ipc/service/image_transport_surface.h" |
#include "third_party/WebKit/public/platform/WebGamepads.h" |
#include "third_party/WebKit/public/platform/modules/device_orientation/WebDeviceMotionData.h" |
@@ -353,16 +351,6 @@ void SetDeviceColorProfile(RenderView* render_view, const std::string& name) { |
render_view->GetWidget()->SetDeviceColorProfileForTesting(color_profile); |
} |
-void SetBluetoothAdapter(int render_process_id, |
- scoped_refptr<device::BluetoothAdapter> adapter) { |
- RenderProcessHostImpl* render_process_host_impl = |
- static_cast<RenderProcessHostImpl*>( |
- RenderProcessHost::FromID(render_process_id)); |
- |
- render_process_host_impl->GetBluetoothAdapterFactoryWrapper() |
- ->SetBluetoothAdapterForTesting(std::move(adapter)); |
-} |
- |
void UseSynchronousResizeMode(RenderView* render_view, bool enable) { |
static_cast<RenderViewImpl*>(render_view)-> |
UseSynchronousResizeModeForTesting(enable); |