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

Unified Diff: components/proximity_auth/unlock_manager_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/unlock_manager_unittest.cc
diff --git a/components/proximity_auth/unlock_manager_unittest.cc b/components/proximity_auth/unlock_manager_unittest.cc
index 13c04e13e9b671ee5deed8fcae339c65a0673799..cf6645f928abfdaaf0471c0f2d5d68d12d7b67cc 100644
--- a/components/proximity_auth/unlock_manager_unittest.cc
+++ b/components/proximity_auth/unlock_manager_unittest.cc
@@ -62,7 +62,7 @@ class MockRemoteDeviceLifeCycle : public RemoteDeviceLifeCycle {
~MockRemoteDeviceLifeCycle() override {}
MOCK_METHOD0(Start, void());
- MOCK_CONST_METHOD0(GetRemoteDevice, RemoteDevice());
+ MOCK_CONST_METHOD0(GetRemoteDevice, cryptauth::RemoteDevice());
MOCK_CONST_METHOD0(GetState, State());
MOCK_METHOD0(GetMessenger, Messenger*());
MOCK_METHOD1(AddObserver, void(Observer*));
@@ -159,7 +159,7 @@ class TestUnlockManager : public UnlockManager {
private:
std::unique_ptr<ProximityMonitor> CreateProximityMonitor(
- const RemoteDevice& remote_device) override {
+ const cryptauth::RemoteDevice& remote_device) override {
EXPECT_EQ(kTestRemoteDevicePublicKey, remote_device.public_key);
std::unique_ptr<MockProximityMonitor> proximity_monitor(
new NiceMock<MockProximityMonitor>());
@@ -253,7 +253,7 @@ class ProximityAuthUnlockManagerTest : public testing::Test {
}
protected:
- RemoteDevice remote_device_;
+ cryptauth::RemoteDevice remote_device_;
// Mock used for verifying interactions with the Bluetooth subsystem.
scoped_refptr<device::MockBluetoothAdapter> bluetooth_adapter_;
« no previous file with comments | « components/proximity_auth/unlock_manager.cc ('k') | components/proximity_auth/webui/proximity_auth_webui_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698