Index: components/proximity_auth/bluetooth_low_energy_connection_finder.h |
diff --git a/components/proximity_auth/bluetooth_low_energy_connection_finder.h b/components/proximity_auth/bluetooth_low_energy_connection_finder.h |
index be94be8e09afdd1fa36df7e775b05ba76031f012..b71acfcf4eff1f314801a6b4ac933c17d3c2a8f0 100644 |
--- a/components/proximity_auth/bluetooth_low_energy_connection_finder.h |
+++ b/components/proximity_auth/bluetooth_low_energy_connection_finder.h |
@@ -39,9 +39,11 @@ |
// advertised by the remote device. |
// |
// |remote_device|: The BLE remote device. |
+ // |beacon_seeds|: The BeaconSeeds for the |remote_device. |
// |bluetooth_throttler|: The reconnection throttler. |
BluetoothLowEnergyConnectionFinder( |
const cryptauth::RemoteDevice remote_device, |
+ const std::vector<cryptauth::BeaconSeed>& beacon_seeds, |
cryptauth::BluetoothThrottler* bluetooth_throttler); |
~BluetoothLowEnergyConnectionFinder() override; |
@@ -68,6 +70,7 @@ |
BluetoothLowEnergyConnectionFinder( |
const cryptauth::RemoteDevice remote_device, |
const std::string& service_uuid, |
+ const std::vector<cryptauth::BeaconSeed>& beacon_seeds, |
std::unique_ptr<cryptauth::BackgroundEidGenerator> eid_generator, |
cryptauth::BluetoothThrottler* bluetooth_throttler); |
@@ -115,6 +118,9 @@ |
// The UUID of the service used by the Weave socket. |
std::string service_uuid_; |
+ // The BeaconSeeds of the |remote_device|. |
+ std::vector<cryptauth::BeaconSeed> beacon_seeds_; |
+ |
// Generates the expected EIDs that may be advertised by |remote_device_|. If |
// an EID matches, we know its a device we should connect to. |
std::unique_ptr<cryptauth::BackgroundEidGenerator> eid_generator_; |