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

Unified Diff: chrome/browser/signin/easy_unlock_service.cc

Issue 2973243002: Adding pref to store the user-selected proximity threshold. (Closed)
Patch Set: Missing comment 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: chrome/browser/signin/easy_unlock_service.cc
diff --git a/chrome/browser/signin/easy_unlock_service.cc b/chrome/browser/signin/easy_unlock_service.cc
index 10a971d307b4763f50cddd259fd06f5174fec997..b344b3000099592498559773a506092d88b0dc2b 100644
--- a/chrome/browser/signin/easy_unlock_service.cc
+++ b/chrome/browser/signin/easy_unlock_service.cc
@@ -263,6 +263,9 @@ void EasyUnlockService::RegisterProfilePrefs(
prefs::kEasyUnlockProximityRequired,
false,
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
+ registry->RegisterIntegerPref(
Tim Song 2017/07/07 21:48:24 Note: We also need to sync this to the local state
Tim Song 2017/07/07 21:48:24 Although there are a lot of prefs here, I want to
sacomoto 2017/07/10 16:54:07 I moved it to ProximityAuthPrefManager. There is a
sacomoto 2017/07/10 16:54:07 Done.
+ prefs::kEasyUnlockProximityThreshold, 1,
+ user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
if (base::CommandLine::ForCurrentProcess()->HasSwitch(
proximity_auth::switches::kEnableBluetoothLowEnergyDiscovery))

Powered by Google App Engine
This is Rietveld 408576698