Index: components/proximity_auth/unlock_manager_impl_unittest.cc |
diff --git a/components/proximity_auth/unlock_manager_impl_unittest.cc b/components/proximity_auth/unlock_manager_impl_unittest.cc |
index 9dc836f9ae92a6629637d79d54799f037f2f3910..f00ba4d0f97c4fd3d38d2caf2a3f53b9a6f25d68 100644 |
--- a/components/proximity_auth/unlock_manager_impl_unittest.cc |
+++ b/components/proximity_auth/unlock_manager_impl_unittest.cc |
@@ -119,7 +119,7 @@ class TestUnlockManager : public UnlockManagerImpl { |
public: |
TestUnlockManager(ProximityAuthSystem::ScreenlockType screenlock_type, |
ProximityAuthClient* proximity_auth_client) |
- : UnlockManagerImpl(screenlock_type, proximity_auth_client), |
+ : UnlockManagerImpl(screenlock_type, proximity_auth_client, nullptr), |
proximity_monitor_(nullptr) {} |
~TestUnlockManager() override {} |
@@ -137,7 +137,8 @@ class TestUnlockManager : public UnlockManagerImpl { |
private: |
std::unique_ptr<ProximityMonitor> CreateProximityMonitor( |
- cryptauth::Connection* connection) override { |
+ cryptauth::Connection* connection, |
+ ProximityAuthPrefManager* pref_manager) override { |
EXPECT_EQ(cryptauth::kTestRemoteDevicePublicKey, |
connection->remote_device().public_key); |
std::unique_ptr<MockProximityMonitor> proximity_monitor( |