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 58c1795b17b943493649b49ffa69c8bc1a8707f2..cfe2b0526d87c44817b410b4069e42994760646a 100644 |
--- a/components/autofill/core/browser/autofill_experiments.cc |
+++ b/components/autofill/core/browser/autofill_experiments.cc |
@@ -29,6 +29,8 @@ const base::Feature kAutofillCreditCardAssist{ |
"AutofillCreditCardAssist", base::FEATURE_DISABLED_BY_DEFAULT}; |
const base::Feature kAutofillScanCardholderName{ |
"AutofillScanCardholderName", base::FEATURE_DISABLED_BY_DEFAULT}; |
+const base::Feature kAutofillCreditCardBankNameDisplay{ |
+ "AutofillCreditCardBankNameDisplay", base::FEATURE_DISABLED_BY_DEFAULT}; |
const base::Feature kAutofillCreditCardPopupLayout{ |
"AutofillCreditCardPopupLayout", base::FEATURE_DISABLED_BY_DEFAULT}; |
const base::Feature kAutofillCreditCardLastUsedDateDisplay{ |
@@ -42,6 +44,8 @@ const base::Feature kAutofillUpstreamUseNotRecentlyUsedAutofillProfile{ |
"AutofillUpstreamUseNotRecentlyUsedAutofillProfile", |
base::FEATURE_DISABLED_BY_DEFAULT}; |
const char kCreditCardSigninPromoImpressionLimitParamKey[] = "impression_limit"; |
+const char kAutofillCreditCardBankNameDisplayInTitle[] = |
+ "show_bank_name_in_title"; |
const char kAutofillCreditCardPopupBackgroundColorKey[] = "background_color"; |
const char kAutofillCreditCardPopupDividerColorKey[] = "dropdown_divider_color"; |
const char kAutofillCreditCardPopupValueBoldKey[] = "is_value_bold"; |
@@ -98,6 +102,10 @@ bool IsAutofillCreditCardLastUsedDateDisplayExperimentEnabled() { |
return base::FeatureList::IsEnabled(kAutofillCreditCardLastUsedDateDisplay); |
} |
+bool IsAutofillCreditCardBankNameDisplayExperimentEnabled() { |
+ return base::FeatureList::IsEnabled(kAutofillCreditCardBankNameDisplay); |
+} |
+ |
// |GetCreditCardPopupParameterUintValue| returns 0 if experiment parameter is |
// not specified. 0 == |SK_ColorTRANSPARENT|. |
SkColor GetCreditCardPopupBackgroundColor() { |