| Index: chrome/browser/chromeos/login/quick_unlock/quick_unlock_utils.cc
|
| diff --git a/chrome/browser/chromeos/login/quick_unlock/quick_unlock_utils.cc b/chrome/browser/chromeos/login/quick_unlock/quick_unlock_utils.cc
|
| index 3beae8927a1fa80f5b903877df4f881b2266fdd4..653539f33e80be9c0637cd9b0fab027a0bfffa81 100644
|
| --- a/chrome/browser/chromeos/login/quick_unlock/quick_unlock_utils.cc
|
| +++ b/chrome/browser/chromeos/login/quick_unlock/quick_unlock_utils.cc
|
| @@ -30,6 +30,12 @@ void RegisterQuickUnlockProfilePrefs(PrefRegistrySimple* registry) {
|
| registry->RegisterIntegerPref(
|
| prefs::kQuickUnlockTimeout,
|
| static_cast<int>(QuickUnlockPasswordConfirmationFrequency::DAY));
|
| +
|
| + // Preferences related the lock screen pin unlock.
|
| + registry->RegisterIntegerPref(prefs::kPinUnlockMinimumLength, 4);
|
| + // 0 indicates no maximum length for the pin.
|
| + registry->RegisterIntegerPref(prefs::kPinUnlockMaximumLength, 0);
|
| + registry->RegisterBooleanPref(prefs::kPinUnlockWeakPinsAllowed, true);
|
| }
|
|
|
| bool IsPinUnlockEnabled(PrefService* pref_service) {
|
|
|