Index: components/autofill/core/browser/autofill_experiments.cc |
diff --git a/components/autofill/core/browser/autofill_experiments.cc b/components/autofill/core/browser/autofill_experiments.cc |
index 61365695a9a5b35ecf2ad4e073497c5503a1c90f..f509dcf51c0032ad581d9e9ffef15ba6bed8f98b 100644 |
--- a/components/autofill/core/browser/autofill_experiments.cc |
+++ b/components/autofill/core/browser/autofill_experiments.cc |
@@ -23,6 +23,8 @@ const base::Feature kAutofillProfileCleanup{"AutofillProfileCleanup", |
base::FEATURE_DISABLED_BY_DEFAULT}; |
const base::Feature kAutofillCreditCardSigninPromo{ |
"AutofillCreditCardSigninPromo", base::FEATURE_DISABLED_BY_DEFAULT}; |
+const base::Feature kAutofillCreditCardAssist{ |
+ "AutofillCreditCardAssist", base::FEATURE_DISABLED_BY_DEFAULT}; |
const char kCreditCardSigninPromoImpressionLimitParamKey[] = "impression_limit"; |
bool IsAutofillEnabled(const PrefService* pref_service) { |
@@ -43,6 +45,10 @@ bool IsAutofillCreditCardSigninPromoEnabled() { |
return base::FeatureList::IsEnabled(kAutofillCreditCardSigninPromo); |
} |
+bool IsAutofillCreditCardAssistEnabled() { |
+ return base::FeatureList::IsEnabled(kAutofillCreditCardAssist); |
+} |
+ |
int GetCreditCardSigninPromoImpressionLimit() { |
int impression_limit; |
std::string param_value = variations::GetVariationParamValueByFeature( |