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

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 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..f6b1bdc5b183ca9c30a36c553a0ab2b85ba30985 100644
--- a/components/proximity_auth/unlock_manager_impl_unittest.cc
+++ b/components/proximity_auth/unlock_manager_impl_unittest.cc
@@ -40,6 +40,8 @@ using testing::NiceMock;
using testing::Return;
using testing::_;
+class PrefService;
+
namespace proximity_auth {
namespace {
@@ -137,7 +139,8 @@ class TestUnlockManager : public UnlockManagerImpl {
private:
std::unique_ptr<ProximityMonitor> CreateProximityMonitor(
- cryptauth::Connection* connection) override {
+ cryptauth::Connection* connection,
+ PrefService* pref_service) 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