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)) |