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

Unified Diff: components/proximity_auth/unlock_manager_impl_unittest.cc

Issue 2973243002: Adding pref to store the user-selected proximity threshold. (Closed)
Patch Set: Fixing browser tests Created 3 years, 5 months 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_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(

Powered by Google App Engine
This is Rietveld 408576698