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

Unified Diff: components/proximity_auth/bluetooth_connection.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.h
diff --git a/components/proximity_auth/bluetooth_connection.h b/components/proximity_auth/bluetooth_connection.h
index 292557934c57a3f94d6b54907df98d6162f6a6af..ccebdbd835ad3dce602dacba55bf14c05c7d5199 100644
--- a/components/proximity_auth/bluetooth_connection.h
+++ b/components/proximity_auth/bluetooth_connection.h
@@ -20,9 +20,11 @@ namespace net {
class IOBuffer;
}
-namespace proximity_auth {
-
+namespace cryptauth {
struct RemoteDevice;
+}
+
+namespace proximity_auth {
// Represents a Bluetooth connection with a remote device. The connection is a
// persistent bidirectional channel for sending and receiving wire messages.
@@ -32,7 +34,7 @@ class BluetoothConnection : public Connection,
// Constructs a Bluetooth connection to the service with |uuid| on the
// |remote_device|. The |remote_device| must already be known to the system
// Bluetooth daemon.
- BluetoothConnection(const RemoteDevice& remote_device,
+ BluetoothConnection(const cryptauth::RemoteDevice& remote_device,
const device::BluetoothUUID& uuid);
~BluetoothConnection() override;

Powered by Google App Engine
This is Rietveld 408576698