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

Unified Diff: components/proximity_auth/bluetooth_connection.cc

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.cc
diff --git a/components/proximity_auth/bluetooth_connection.cc b/components/proximity_auth/bluetooth_connection.cc
index b40421e19699f0d7e034aca8a4583cbd98e31ea6..511e7ef5fd06b8c61bdcf03b55da9780a5a12680 100644
--- a/components/proximity_auth/bluetooth_connection.cc
+++ b/components/proximity_auth/bluetooth_connection.cc
@@ -11,8 +11,8 @@
#include "base/numerics/safe_conversions.h"
#include "base/single_thread_task_runner.h"
#include "base/threading/thread_task_runner_handle.h"
+#include "components/cryptauth/remote_device.h"
#include "components/proximity_auth/logging/logging.h"
-#include "components/proximity_auth/remote_device.h"
#include "components/proximity_auth/wire_message.h"
#include "device/bluetooth/bluetooth_adapter_factory.h"
#include "device/bluetooth/bluetooth_device.h"
@@ -23,10 +23,10 @@ namespace {
const int kReceiveBufferSizeBytes = 1024;
}
-BluetoothConnection::BluetoothConnection(const RemoteDevice& remote_device,
- const device::BluetoothUUID& uuid)
- : Connection(remote_device), uuid_(uuid), weak_ptr_factory_(this) {
-}
+BluetoothConnection::BluetoothConnection(
+ const cryptauth::RemoteDevice& remote_device,
+ const device::BluetoothUUID& uuid)
+ : Connection(remote_device), uuid_(uuid), weak_ptr_factory_(this) {}
BluetoothConnection::~BluetoothConnection() {
if (status() != DISCONNECTED)
« no previous file with comments | « components/proximity_auth/bluetooth_connection.h ('k') | components/proximity_auth/bluetooth_connection_finder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698