Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2434)

Unified Diff: device/bluetooth/bluetooth_low_energy_device_mac.h

Issue 1220713006: Renaming BluetoothDeviceMac as BluetoothClassicDeviceMac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dm
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
};

Powered by Google App Engine
This is Rietveld 408576698