| 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..c7f4c04f4f960f7b9d7590637eeba51c517276f3 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 ShouldUpdatingAffiliatedWebCredentialsBeEnabled() {
|
| + base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
|
| + return password_manager::IsUpdatingAffiliatedWebCredentialsEnabled(
|
| + *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->set_propagating_password_changes_to_web_enabled(
|
| + ShouldUpdatingAffiliatedWebCredentialsBeEnabled());
|
| }
|
|
|
| } // namespace
|
|
|