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

Unified Diff: components/proximity_auth/unlock_manager_impl.h

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.h
diff --git a/components/proximity_auth/unlock_manager_impl.h b/components/proximity_auth/unlock_manager_impl.h
index c880844c0c3684f0ed863f4dd81d608fc5da3b2b..95bf32739a267f5f577a69c0e6db333ef9fa2a88 100644
--- a/components/proximity_auth/unlock_manager_impl.h
+++ b/components/proximity_auth/unlock_manager_impl.h
@@ -23,6 +23,8 @@
#include "chromeos/dbus/power_manager_client.h"
#endif
+class PrefService;
+
namespace proximity_auth {
class Messenger;
@@ -56,7 +58,8 @@ class UnlockManagerImpl : public UnlockManager,
// Creates a ProximityMonitor instance for the given |connection|.
// Exposed for testing.
virtual std::unique_ptr<ProximityMonitor> CreateProximityMonitor(
- cryptauth::Connection* connection);
+ cryptauth::Connection* connection,
+ PrefService* pref_service);
Tim Song 2017/07/10 19:27:56 You should take in the ProximityAuthPrefManager in
sacomoto 2017/07/11 09:56:06 Done.
private:
// The possible lock screen states for the remote device.

Powered by Google App Engine
This is Rietveld 408576698