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

Unified Diff: device/bluetooth/bluetooth_adapter.h

Issue 1341103004: Handle change of BLE address after pairing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased onto latest master Created 5 years, 3 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_adapter.h
diff --git a/device/bluetooth/bluetooth_adapter.h b/device/bluetooth/bluetooth_adapter.h
index 3c74ff9ad69f67ecbcd1449612c143b238bb1ac7..b5f0bd9fbf8dee6de557b86ab1d27f1b9671031a 100644
--- a/device/bluetooth/bluetooth_adapter.h
+++ b/device/bluetooth/bluetooth_adapter.h
@@ -82,6 +82,12 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapter
virtual void DeviceChanged(BluetoothAdapter* adapter,
BluetoothDevice* device) {}
+ // Called when address property of the device |device| known to the adapter
+ // |adapter| change due to pairing.
+ virtual void DeviceAddressChanged(BluetoothAdapter* adapter,
+ BluetoothDevice* device,
+ const std::string& old_address) {}
+
// Called when the device |device| is removed from the adapter |adapter|,
// either as a result of a discovered device being lost between discovering
// phases or pairing information deleted. |device| should not be

Powered by Google App Engine
This is Rietveld 408576698