Chromium Code Reviews| Index: chrome/browser/profiles/profile.cc |
| diff --git a/chrome/browser/profiles/profile.cc b/chrome/browser/profiles/profile.cc |
| index a645ea7cbf4236b1d8fd1728d332e282ffb5ebc0..74525c7c2b546f9bfa2bdd1d514d2447e56d6e6e 100644 |
| --- a/chrome/browser/profiles/profile.cc |
| +++ b/chrome/browser/profiles/profile.cc |
| @@ -171,6 +171,12 @@ void Profile::RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) { |
| #if defined(OS_CHROMEOS) |
| registry->RegisterBooleanPref(prefs::kAllowScreenLock, true); |
| + |
| + // 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::kPinUnlockAllowEasyPins, true); |
|
jdufault
2016/10/04 22:57:28
Please keep naming consistent (replace Easy with W
sammiequon
2016/10/05 19:48:11
Done.
|
| #endif |
| } |