| Index: components/autofill/core/browser/personal_data_manager.cc
|
| diff --git a/components/autofill/core/browser/personal_data_manager.cc b/components/autofill/core/browser/personal_data_manager.cc
|
| index 3ef8d1d04b8ed0a411362676001f72a0d629f319..67625afe22d50014394492569fec526732910dfd 100644
|
| --- a/components/autofill/core/browser/personal_data_manager.cc
|
| +++ b/components/autofill/core/browser/personal_data_manager.cc
|
| @@ -621,8 +621,7 @@ const std::vector<CreditCard*>& PersonalDataManager::GetCreditCards() const {
|
| credit_cards_.clear();
|
| credit_cards_.insert(credit_cards_.end(), local_credit_cards_.begin(),
|
| local_credit_cards_.end());
|
| - if (IsExperimentalWalletIntegrationEnabled() &&
|
| - pref_service_->GetBoolean(prefs::kAutofillWalletImportEnabled)) {
|
| + if (pref_service_->GetBoolean(prefs::kAutofillWalletImportEnabled)) {
|
| credit_cards_.insert(credit_cards_.end(), server_credit_cards_.begin(),
|
| server_credit_cards_.end());
|
| }
|
| @@ -974,10 +973,6 @@ const std::string& PersonalDataManager::GetDefaultCountryCodeForNewAddress()
|
| return default_country_code_;
|
| }
|
|
|
| -bool PersonalDataManager::IsExperimentalWalletIntegrationEnabled() const {
|
| - return pref_service_->GetBoolean(prefs::kAutofillWalletSyncExperimentEnabled);
|
| -}
|
| -
|
| // static
|
| void PersonalDataManager::DedupeCreditCardSuggestions(
|
| std::list<const CreditCard*>* cards_to_suggest) {
|
| @@ -1409,8 +1404,7 @@ const std::vector<AutofillProfile*>& PersonalDataManager::GetProfiles(
|
| profiles_.clear();
|
| profiles_.insert(profiles_.end(), web_profiles().begin(),
|
| web_profiles().end());
|
| - if (IsExperimentalWalletIntegrationEnabled() &&
|
| - pref_service_->GetBoolean(prefs::kAutofillWalletImportEnabled)) {
|
| + if (pref_service_->GetBoolean(prefs::kAutofillWalletImportEnabled)) {
|
| profiles_.insert(
|
| profiles_.end(), server_profiles_.begin(), server_profiles_.end());
|
| }
|
|
|