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

Unified Diff: components/proximity_auth/ble/bluetooth_low_energy_connection_finder.h

Issue 2560713002: Move RemoteDevice from //components/proximity_auth to //components/cryptauth so that it can be easi… (Closed)
Patch Set: Add cryptauth dependency. Created 4 years 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/ble/bluetooth_low_energy_connection_finder.h
diff --git a/components/proximity_auth/ble/bluetooth_low_energy_connection_finder.h b/components/proximity_auth/ble/bluetooth_low_energy_connection_finder.h
index 806308b2c5c1475938b08cf724dc565084c690c3..426348a3f49acc8962a7e38ed16a5458253b6c11 100644
--- a/components/proximity_auth/ble/bluetooth_low_energy_connection_finder.h
+++ b/components/proximity_auth/ble/bluetooth_low_energy_connection_finder.h
@@ -13,10 +13,10 @@
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
+#include "components/cryptauth/remote_device.h"
#include "components/proximity_auth/connection.h"
#include "components/proximity_auth/connection_finder.h"
#include "components/proximity_auth/connection_observer.h"
-#include "components/proximity_auth/remote_device.h"
#include "device/bluetooth/bluetooth_adapter.h"
#include "device/bluetooth/bluetooth_device.h"
#include "device/bluetooth/bluetooth_discovery_session.h"
@@ -53,7 +53,7 @@ class BluetoothLowEnergyConnectionFinder
// TODO(sacomoto): Remove |device_whitelist| when ProximityAuthBleSystem is
// not needed anymore.
BluetoothLowEnergyConnectionFinder(
- const RemoteDevice remote_device,
+ const cryptauth::RemoteDevice remote_device,
const std::string& remote_service_uuid,
const FinderStrategy finder_strategy,
const BluetoothLowEnergyDeviceWhitelist* device_whitelist,
@@ -125,7 +125,7 @@ class BluetoothLowEnergyConnectionFinder
// The remote BLE device being searched. It maybe empty, in this case the
// remote device should advertise |remote_service_uuid_| and
// |advertised_name_|.
- RemoteDevice remote_device_;
+ cryptauth::RemoteDevice remote_device_;
// The uuid of the service it looks for to establish a GattConnection.
device::BluetoothUUID remote_service_uuid_;

Powered by Google App Engine
This is Rietveld 408576698