From: csagan5 <32685696+csagan5@users.noreply.github.com> Date: Wed, 11 Oct 2017 23:17:17 +0200 Subject: Do not store passwords by default License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html --- .../password_manager/core/browser/password_manager.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/password_manager/core/browser/password_manager.cc b/components/password_manager/core/browser/password_manager.cc --- a/components/password_manager/core/browser/password_manager.cc +++ b/components/password_manager/core/browser/password_manager.cc @@ -253,14 +253,14 @@ base::CallbackListSubscription AddSyncEnabledOrDisabledCallback( void PasswordManager::RegisterProfilePrefs( user_prefs::PrefRegistrySyncable* registry) { registry->RegisterBooleanPref( - prefs::kCredentialsEnableService, true, + prefs::kCredentialsEnableService, false, user_prefs::PrefRegistrySyncable::SYNCABLE_PRIORITY_PREF); #if BUILDFLAG(IS_IOS) registry->RegisterBooleanPref(prefs::kCredentialProviderEnabledOnStartup, false); #endif // BUILDFLAG(IS_IOS) registry->RegisterBooleanPref( - prefs::kCredentialsEnableAutosignin, true, + prefs::kCredentialsEnableAutosignin, false, user_prefs::PrefRegistrySyncable::SYNCABLE_PRIORITY_PREF); registry->RegisterStringPref(prefs::kSyncPasswordHash, std::string(), PrefRegistry::NO_REGISTRATION_FLAGS); @@ -303,9 +303,9 @@ void PasswordManager::RegisterProfilePrefs( user_prefs::PrefRegistrySyncable::SYNCABLE_PREF); registry->RegisterBooleanPref(prefs::kPasswordsPrefWithNewLabelUsed, false); #if BUILDFLAG(IS_ANDROID) - registry->RegisterBooleanPref(prefs::kOfferToSavePasswordsEnabledGMS, true); + registry->RegisterBooleanPref(prefs::kOfferToSavePasswordsEnabledGMS, false); registry->RegisterBooleanPref(prefs::kSavePasswordsSuspendedByError, false); - registry->RegisterBooleanPref(prefs::kAutoSignInEnabledGMS, true); + registry->RegisterBooleanPref(prefs::kAutoSignInEnabledGMS, false); registry->RegisterBooleanPref(prefs::kSettingsMigratedToUPMLocal, false); registry->RegisterIntegerPref( prefs::kCurrentMigrationVersionToGoogleMobileServices, 0); -- 2.25.1