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 76bc7115ec70059aa0fe8e7c0c6253e86dd8755a..fb7f474d923200a18b0c6479bfe7aa8cd0ae0219 100644 |
--- a/chrome/browser/password_manager/password_store_factory.cc |
+++ b/chrome/browser/password_manager/password_store_factory.cc |
@@ -98,7 +98,7 @@ bool ShouldAffiliationBasedMatchingBeActive(Profile* profile) { |
ProfileSyncService* profile_sync_service = |
ProfileSyncServiceFactory::GetInstance()->GetForProfile(profile); |
return profile_sync_service && |
- profile_sync_service->IsSyncEnabledAndLoggedIn() && |
+ profile_sync_service->CanSyncStart() && |
profile_sync_service->IsSyncActive() && |
profile_sync_service->GetPreferredDataTypes().Has(syncer::PASSWORDS) && |
!profile_sync_service->IsUsingSecondaryPassphrase(); |