| Index: content/test/layouttest_support.cc
|
| diff --git a/content/test/layouttest_support.cc b/content/test/layouttest_support.cc
|
| index 4430a4671177ad86048abe53e063f4e3311b38d3..10a7f3748f56ff9aa93e27f8607e4ec11ea2db26 100644
|
| --- a/content/test/layouttest_support.cc
|
| +++ b/content/test/layouttest_support.cc
|
| @@ -8,6 +8,7 @@
|
| #include "base/lazy_instance.h"
|
| #include "cc/blink/web_layer_impl.h"
|
| #include "content/browser/renderer_host/render_widget_host_impl.h"
|
| +#include "content/child/bluetooth/web_bluetooth_impl.h"
|
| #include "content/common/gpu/image_transport_surface.h"
|
| #include "content/public/common/page_state.h"
|
| #include "content/public/renderer/renderer_gamepad_provider.h"
|
| @@ -310,6 +311,13 @@ void SetDeviceColorProfile(RenderView* render_view, const std::string& name) {
|
| SetDeviceColorProfileForTesting(color_profile);
|
| }
|
|
|
| +void SetBluetoothMockDataSetForTesting(const std::string& name) {
|
| + RenderThreadImpl::current()
|
| + ->blink_platform_impl()
|
| + ->BluetoothImplForTesting()
|
| + ->SetBluetoothMockDataSetForTesting(name);
|
| +}
|
| +
|
| void UseSynchronousResizeMode(RenderView* render_view, bool enable) {
|
| static_cast<RenderViewImpl*>(render_view)->
|
| UseSynchronousResizeModeForTesting(enable);
|
|
|