| Index: device/bluetooth/bluetooth_low_energy_device_mac.h
|
| diff --git a/device/bluetooth/bluetooth_low_energy_device_mac.h b/device/bluetooth/bluetooth_low_energy_device_mac.h
|
| index 5fa43355c83eb3967560df43b9edb3a41d1e7e13..0a0ebee7b252274e9aefa9af68fc6311919dc8ae 100644
|
| --- a/device/bluetooth/bluetooth_low_energy_device_mac.h
|
| +++ b/device/bluetooth/bluetooth_low_energy_device_mac.h
|
| @@ -70,6 +70,9 @@ class BluetoothLowEnergyDeviceMac : public BluetoothDevice {
|
| const GattConnectionCallback& callback,
|
| const ConnectErrorCallback& error_callback) override;
|
|
|
| + // Returns the time of the most recent call to Update().
|
| + NSDate* GetLastCallToUpdate();
|
| +
|
| protected:
|
| // BluetoothDevice override.
|
| std::string GetDeviceName() const override;
|
| @@ -93,6 +96,9 @@ class BluetoothLowEnergyDeviceMac : public BluetoothDevice {
|
| // Whether the device is connectable.
|
| bool connectable_;
|
|
|
| + // Stores the time of the most recent call to Update().
|
| + NSDate* last_call_to_update_ = nil;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(BluetoothLowEnergyDeviceMac);
|
| };
|
|
|
|
|