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

Unified Diff: components/proximity_auth/bluetooth_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/bluetooth_connection_finder.h
diff --git a/components/proximity_auth/bluetooth_connection_finder.h b/components/proximity_auth/bluetooth_connection_finder.h
index 9405c0383f2fb926d3126efb9d86a9940f7d180f..a2f5ee749b4000d8d62048514aa5ae146e7fb355 100644
--- a/components/proximity_auth/bluetooth_connection_finder.h
+++ b/components/proximity_auth/bluetooth_connection_finder.h
@@ -12,10 +12,10 @@
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
#include "base/time/time.h"
+#include "components/cryptauth/remote_device.h"
#include "components/proximity_auth/bluetooth_util.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_uuid.h"
@@ -27,7 +27,7 @@ class BluetoothConnectionFinder : public ConnectionFinder,
public ConnectionObserver,
public device::BluetoothAdapter::Observer {
public:
- BluetoothConnectionFinder(const RemoteDevice& remote_device,
+ BluetoothConnectionFinder(const cryptauth::RemoteDevice& remote_device,
const device::BluetoothUUID& uuid,
const base::TimeDelta& polling_interval);
~BluetoothConnectionFinder() override;
@@ -86,7 +86,7 @@ class BluetoothConnectionFinder : public ConnectionFinder,
void InvokeCallbackAsync();
// The remote device to connect to.
- const RemoteDevice remote_device_;
+ const cryptauth::RemoteDevice remote_device_;
// The UUID of the service on the remote device.
const device::BluetoothUUID uuid_;
« no previous file with comments | « components/proximity_auth/bluetooth_connection.cc ('k') | components/proximity_auth/bluetooth_connection_finder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698