Chromium Code Reviews| 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..9f2ca5c57c914a3833e529cbec144f7305ee532f 100644 |
| --- a/device/bluetooth/bluetooth_low_energy_device_mac.h |
| +++ b/device/bluetooth/bluetooth_low_energy_device_mac.h |
| @@ -13,13 +13,13 @@ |
| #include "base/mac/scoped_nsobject.h" |
| #include "base/mac/sdk_forward_declarations.h" |
| -#include "device/bluetooth/bluetooth_device.h" |
| +#include "device/bluetooth/bluetooth_device_mac.h" |
| namespace device { |
| class BluetoothLowEnergyDiscoverManagerMac; |
| -class BluetoothLowEnergyDeviceMac : public BluetoothDevice { |
| +class BluetoothLowEnergyDeviceMac : public BluetoothDeviceMac { |
| public: |
| BluetoothLowEnergyDeviceMac(CBPeripheral* peripheral, |
| NSDictionary* advertisementData, |
| @@ -70,6 +70,9 @@ class BluetoothLowEnergyDeviceMac : public BluetoothDevice { |
| const GattConnectionCallback& callback, |
| const ConnectErrorCallback& error_callback) override; |
| + // BluetoothDeviceMac override. |
| + NSDate* GetLastUpdateTime() const override; |
| + |
| 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_update_time = nil; |
|
armansito
2015/06/30 20:44:39
s/last_update_time/last_update_time_/
krstnmnlsn
2015/07/01 17:37:16
thanks
|
| + |
| DISALLOW_COPY_AND_ASSIGN(BluetoothLowEnergyDeviceMac); |
| }; |