| Index: chrome/browser/password_manager/password_store_factory.cc
|
| diff --git a/chrome/browser/password_manager/password_store_factory.cc b/chrome/browser/password_manager/password_store_factory.cc
|
| index 78b24257d321ebcc87ee933bad00940fe3815b1e..7acd80df39046c0799e74d025aea236f34b25faa 100644
|
| --- a/chrome/browser/password_manager/password_store_factory.cc
|
| +++ b/chrome/browser/password_manager/password_store_factory.cc
|
| @@ -103,6 +103,12 @@ bool ShouldAffiliationBasedMatchingBeActive(Profile* profile) {
|
| !profile_sync_service->IsUsingSecondaryPassphrase();
|
| }
|
|
|
| +bool ShouldPropagatingPasswordChangesToWebCredentialsBeEnabled() {
|
| + base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
|
| + return password_manager::IsPropagatingPasswordChangesToWebCredentialsEnabled(
|
| + *command_line);
|
| +}
|
| +
|
| void ActivateAffiliationBasedMatching(PasswordStore* password_store,
|
| Profile* profile) {
|
| DCHECK(password_store);
|
| @@ -124,6 +130,8 @@ void ActivateAffiliationBasedMatching(PasswordStore* password_store,
|
| affiliation_service.Pass()));
|
| affiliated_match_helper->Initialize();
|
| password_store->SetAffiliatedMatchHelper(affiliated_match_helper.Pass());
|
| + password_store->enable_propagating_password_changes_to_web_credentials(
|
| + ShouldPropagatingPasswordChangesToWebCredentialsBeEnabled());
|
| }
|
|
|
| } // namespace
|
|
|