Chromium Code Reviews| Index: device/bluetooth/bluez/bluetooth_adapter_bluez.h |
| diff --git a/device/bluetooth/bluez/bluetooth_adapter_bluez.h b/device/bluetooth/bluez/bluetooth_adapter_bluez.h |
| index ebd7370accdb1d8e191f1577b4883c9ae017ef3b..60bcf1cdc42e0ff4c54168bbd80ff980e26c54a4 100644 |
| --- a/device/bluetooth/bluez/bluetooth_adapter_bluez.h |
| +++ b/device/bluetooth/bluez/bluetooth_adapter_bluez.h |
| @@ -34,6 +34,7 @@ |
| namespace base { |
| class SequencedTaskRunner; |
| +class Time; |
|
xiyuan
2016/09/21 16:35:23
nit: TimeDelta ?
Rahul Chaturvedi
2016/09/21 18:54:12
Done.
|
| } // namespace base |
| namespace device { |
| @@ -123,7 +124,13 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapterBlueZ |
| void RegisterAdvertisement( |
| std::unique_ptr<device::BluetoothAdvertisement::Data> advertisement_data, |
| const CreateAdvertisementCallback& callback, |
| - const CreateAdvertisementErrorCallback& error_callback) override; |
| + const AdvertisementErrorCallback& error_callback) override; |
| + |
| + void SetAdvertisingInterval( |
| + const base::TimeDelta& min, |
| + const base::TimeDelta& max, |
| + const base::Closure& callback, |
| + const AdvertisementErrorCallback& error_callback) override; |
| device::BluetoothLocalGattService* GetGattService( |
| const std::string& identifier) const override; |