Chromium Code Reviews| Index: components/autofill/core/browser/autofill_experiments.h |
| diff --git a/components/autofill/core/browser/autofill_experiments.h b/components/autofill/core/browser/autofill_experiments.h |
| index 955b370bc4053331d97eac04f88564ba929d8805..2ae73bb01334c40f1f1e32dbdd13bf12e71e5753 100644 |
| --- a/components/autofill/core/browser/autofill_experiments.h |
| +++ b/components/autofill/core/browser/autofill_experiments.h |
| @@ -27,6 +27,7 @@ struct Suggestion; |
| extern const base::Feature kAutofillCreditCardAssist; |
| extern const base::Feature kAutofillScanCardholderName; |
| +extern const base::Feature kAutofillCreditCardBankNameDisplay; |
| extern const base::Feature kAutofillCreditCardPopupLayout; |
| extern const base::Feature kAutofillCreditCardLastUsedDateDisplay; |
| extern const base::Feature kAutofillUpstreamRequestCvcIfMissing; |
| @@ -35,6 +36,7 @@ extern const base::Feature kAutofillUpstreamUseNotRecentlyUsedAutofillProfile; |
| extern const char kCreditCardSigninPromoImpressionLimitParamKey[]; |
| extern const char kAutofillCreditCardLastUsedDateShowExpirationDateKey[]; |
| extern const char kAutofillUpstreamMaxMinutesSinceAutofillProfileUseKey[]; |
| +extern const char kAutofillCreditCardBankNameDisplayInTitle[]; |
|
sebsg
2017/06/12 21:17:00
Is this used?
Shanfeng
2017/06/12 23:34:58
No. Removed.
|
| // Returns true if autofill should be enabled. See also |
| // IsInAutofillSuggestionsDisabledExperiment below. |
| @@ -72,6 +74,9 @@ bool IsAutofillCreditCardLastUsedDateDisplayExperimentEnabled(); |
| // Returns whether Autofill credit card last used date shows expiration date. |
| bool ShowExpirationDateInAutofillCreditCardLastUsedDate(); |
| +// Returns whether Autofill credit card bank name display experiment is enabled. |
| +bool IsAutofillCreditCardBankNameDisplayExperimentEnabled(); |
| + |
| // Returns the background color for credit card autofill popup, or |
| // |SK_ColorTRANSPARENT| if the new credit card autofill popup layout experiment |
| // is not enabled. |