Index: chrome/browser/signin/easy_unlock_service_regular.cc |
diff --git a/chrome/browser/signin/easy_unlock_service_regular.cc b/chrome/browser/signin/easy_unlock_service_regular.cc |
index 0c3dabced7b05dab7dabee8dbe503073b1e82ab2..910c110527f4c828b9df6d516d6b0d0fb95bfc17 100644 |
--- a/chrome/browser/signin/easy_unlock_service_regular.cc |
+++ b/chrome/browser/signin/easy_unlock_service_regular.cc |
@@ -450,6 +450,9 @@ void EasyUnlockServiceRegular::InitializeInternal() { |
registrar_.Add(prefs::kEasyUnlockProximityRequired, |
base::Bind(&EasyUnlockServiceRegular::OnPrefsChanged, |
base::Unretained(this))); |
+ registrar_.Add(prefs::kEasyUnlockProximityThreshold, |
+ base::Bind(&EasyUnlockServiceRegular::OnPrefsChanged, |
+ base::Unretained(this))); |
OnPrefsChanged(); |
@@ -614,6 +617,9 @@ void EasyUnlockServiceRegular::SyncProfilePrefsToLocalState() { |
user_prefs_dict->SetBooleanWithoutPathExpansion( |
prefs::kEasyUnlockProximityRequired, |
profile_prefs->GetBoolean(prefs::kEasyUnlockProximityRequired)); |
+ user_prefs_dict->SetIntegerWithoutPathExpansion( |
+ prefs::kEasyUnlockProximityThreshold, |
+ profile_prefs->GetInteger(prefs::kEasyUnlockProximityThreshold)); |
DictionaryPrefUpdate update(local_state, |
prefs::kEasyUnlockLocalStateUserPrefs); |