Chromium Code Reviews| 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 e0319a58829e3a80ceec86cd1b80d5ace90b054d..c722c478c399ff2ee8f58a0dd875d98444184f23 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 |
| @@ -588,8 +588,7 @@ LayoutTestBluetoothAdapterProvider::GetBaseDevice( |
| device::BluetoothDevice::UUIDList uuids, |
| const std::string& address) { |
| std::unique_ptr<NiceMockBluetoothDevice> device(new NiceMockBluetoothDevice( |
| - adapter, 0x1F00 /* Bluetooth class */, device_name, address, |
|
ortuno
2016/04/27 20:16:41
You still need these. Bluez still relies on this c
|
| - true /* paired */, true /* connected */)); |
| + adapter, device_name, address, true /* paired */, true /* connected */)); |
| ON_CALL(*device, GetUUIDs()).WillByDefault(Return(uuids)); |
| @@ -607,12 +606,6 @@ LayoutTestBluetoothAdapterProvider::GetBaseDevice( |
| .WillByDefault( |
| Invoke(device.get(), &MockBluetoothDevice::GetMockService)); |
| - ON_CALL(*device, GetVendorIDSource()) |
| - .WillByDefault(Return(BluetoothDevice::VENDOR_ID_BLUETOOTH)); |
| - ON_CALL(*device, GetVendorID()).WillByDefault(Return(0xFFFF)); |
| - ON_CALL(*device, GetProductID()).WillByDefault(Return(1)); |
| - ON_CALL(*device, GetDeviceID()).WillByDefault(Return(2)); |
| - |
| return device; |
| } |