| Index: device/bluetooth/test/mock_bluetooth_adapter.cc
|
| diff --git a/device/bluetooth/test/mock_bluetooth_adapter.cc b/device/bluetooth/test/mock_bluetooth_adapter.cc
|
| index c235f87d832d5da940c302fef4917a074b451680..6a37e9c69de6fd604ffea0f9f4844a7f060a5ffc 100644
|
| --- a/device/bluetooth/test/mock_bluetooth_adapter.cc
|
| +++ b/device/bluetooth/test/mock_bluetooth_adapter.cc
|
| @@ -85,8 +85,16 @@ BluetoothAdapter::DeviceList MockBluetoothAdapter::GetMockDevices() {
|
| void MockBluetoothAdapter::RegisterAdvertisement(
|
| std::unique_ptr<BluetoothAdvertisement::Data> advertisement_data,
|
| const CreateAdvertisementCallback& callback,
|
| - const CreateAdvertisementErrorCallback& error_callback) {
|
| + const AdvertisementErrorCallback& error_callback) {
|
| callback.Run(new MockBluetoothAdvertisement);
|
| }
|
|
|
| +#if defined(OS_CHROMEOS) || defined(OS_LINUX)
|
| +void MockBluetoothAdapter::SetAdvertisingInterval(
|
| + const base::TimeDelta& min,
|
| + const base::TimeDelta& max,
|
| + const base::Closure& callback,
|
| + const AdvertisementErrorCallback& error_callback) {}
|
| +#endif
|
| +
|
| } // namespace device
|
|
|