| Index: content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc
|
| diff --git a/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc b/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc
|
| index 53dfa252bd1a933653dd6b15bc160dea1bf931c0..930f9dd4c454c0c53cf6a8ea676639e09c304f95 100644
|
| --- a/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc
|
| +++ b/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc
|
| @@ -653,6 +653,10 @@ LayoutTestBluetoothAdapterProvider::GetBaseDevice(
|
| .WillByDefault(
|
| Invoke(device.get(), &MockBluetoothDevice::GetMockService));
|
|
|
| + ON_CALL(*device, CreateGattConnection(_, _))
|
| + .WillByDefault(RunCallback<1 /* error_callback */>(
|
| + BluetoothDevice::ERROR_UNSUPPORTED_DEVICE));
|
| +
|
| return device;
|
| }
|
|
|
|
|