Index: chrome/browser/sync/profile_sync_components_factory_impl.cc |
diff --git a/chrome/browser/sync/profile_sync_components_factory_impl.cc b/chrome/browser/sync/profile_sync_components_factory_impl.cc |
index 1d0514773111a980750e0a34c7b756e91565c794..c6b15385036aad5a5f9a7493714f79c5c743f38c 100644 |
--- a/chrome/browser/sync/profile_sync_components_factory_impl.cc |
+++ b/chrome/browser/sync/profile_sync_components_factory_impl.cc |
@@ -229,11 +229,9 @@ void ProfileSyncComponentsFactoryImpl::RegisterCommonDataTypes( |
new AutofillProfileDataTypeController(this, profile_)); |
} |
- if (profile_->GetPrefs()->GetBoolean( |
- autofill::prefs::kAutofillWalletSyncExperimentEnabled) && |
- !disabled_types.Has(syncer::AUTOFILL_WALLET_DATA)) { |
- // The feature can be enabled by sync experiment *or* command line flag, |
- // and additionally the sync type must be enabled. |
+ // Autofill wallet sync is enabled by default, but behind a syncer experiment |
+ // enforced by the datatype controller. Register unless explicitly disabled. |
+ if (!disabled_types.Has(syncer::AUTOFILL_WALLET_DATA)) { |
pss->RegisterDataTypeController( |
new browser_sync::AutofillWalletDataTypeController(this, profile_)); |
} |