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

Unified Diff: device/bluetooth/bluetooth_low_energy_device_mac.h

Issue 1842223003: Remove outdated devices from Android device chooser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't purge devices continuously. Added more tests. Created 4 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 c5e24b166a9ac59bf989c859daa9c454c1e890dd..de7ff4c6fb61fe6f7eac938df92e2221b0d36020 100644
--- a/device/bluetooth/bluetooth_low_energy_device_mac.h
+++ b/device/bluetooth/bluetooth_low_energy_device_mac.h
@@ -83,9 +83,6 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothLowEnergyDeviceMac
const ConnectToServiceCallback& callback,
const ConnectToServiceErrorCallback& error_callback) override;
- // BluetoothDeviceMac override.
- NSDate* GetLastUpdateTime() const override;
-
protected:
// BluetoothDevice override.
std::string GetDeviceName() const override;
@@ -146,9 +143,6 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothLowEnergyDeviceMac
// identifier.
std::string hash_address_;
- // Stores the time of the most recent call to Update().
- base::scoped_nsobject<NSDate> last_update_time_;
-
// The services (identified by UUIDs) that this device provides.
std::set<BluetoothUUID> advertised_uuids_;

Powered by Google App Engine
This is Rietveld 408576698