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

Unified Diff: components/proximity_auth/throttled_bluetooth_connection_finder_unittest.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/throttled_bluetooth_connection_finder_unittest.cc
diff --git a/components/proximity_auth/throttled_bluetooth_connection_finder_unittest.cc b/components/proximity_auth/throttled_bluetooth_connection_finder_unittest.cc
index 539ebd9071a90bcab70d086b9a286b9d4ea7d9bd..fb747863466f29b093145189c42114c7606131db 100644
--- a/components/proximity_auth/throttled_bluetooth_connection_finder_unittest.cc
+++ b/components/proximity_auth/throttled_bluetooth_connection_finder_unittest.cc
@@ -11,10 +11,10 @@
#include "base/memory/ptr_util.h"
#include "base/test/test_simple_task_runner.h"
#include "base/time/time.h"
+#include "components/cryptauth/remote_device.h"
#include "components/proximity_auth/bluetooth_connection_finder.h"
#include "components/proximity_auth/bluetooth_throttler.h"
#include "components/proximity_auth/fake_connection.h"
-#include "components/proximity_auth/remote_device.h"
#include "components/proximity_auth/wire_message.h"
#include "device/bluetooth/bluetooth_uuid.h"
#include "testing/gmock/include/gmock/gmock.h"
@@ -52,13 +52,14 @@ class FakeBluetoothConnectionFinder : public BluetoothConnectionFinder {
public:
FakeBluetoothConnectionFinder()
: BluetoothConnectionFinder(
- RemoteDevice(),
+ cryptauth::RemoteDevice(),
device::BluetoothUUID(kUuid),
base::TimeDelta::FromSeconds(kPollingIntervalSeconds)) {}
~FakeBluetoothConnectionFinder() override {}
void Find(const ConnectionCallback& connection_callback) override {
- connection_callback.Run(base::MakeUnique<FakeConnection>(RemoteDevice()));
+ connection_callback.Run(
+ base::MakeUnique<FakeConnection>(cryptauth::RemoteDevice()));
}
private:
« no previous file with comments | « components/proximity_auth/remote_device_loader_unittest.cc ('k') | components/proximity_auth/unlock_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698