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

Unified Diff: components/proximity_auth/bluetooth_low_energy_connection_finder.h

Issue 2859053003: [EasyUnlock] Add beacon_seeds to RemoteDevice. (Closed)
Patch Set: load beacon seed in RemoteDevice Created 3 years, 7 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: 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 b71acfcf4eff1f314801a6b4ac933c17d3c2a8f0..be94be8e09afdd1fa36df7e775b05ba76031f012 100644
--- a/components/proximity_auth/bluetooth_low_energy_connection_finder.h
+++ b/components/proximity_auth/bluetooth_low_energy_connection_finder.h
@@ -39,11 +39,9 @@ class BluetoothLowEnergyConnectionFinder
// 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;
@@ -70,7 +68,6 @@ class BluetoothLowEnergyConnectionFinder
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);
@@ -118,9 +115,6 @@ class BluetoothLowEnergyConnectionFinder
// 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_;

Powered by Google App Engine
This is Rietveld 408576698