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 02e891b907c801cf4ac269f7f709feb1524750fc..5f524f44c00d5a5b2c6aab65a809464cd3b809fd 100644 |
| --- a/components/autofill/core/browser/autofill_experiments.h |
| +++ b/components/autofill/core/browser/autofill_experiments.h |
| @@ -29,6 +29,7 @@ extern const base::Feature kAutofillCreditCardSigninPromo; |
| extern const base::Feature kAutofillProfileCleanup; |
| extern const base::Feature kAutofillScanCardholderName; |
| extern const base::Feature kAutofillCreditCardPopupLayout; |
| +extern const base::Feature kAutofillCreditCardLastUsedDateDisplay; |
| extern const char kCreditCardSigninPromoImpressionLimitParamKey[]; |
| extern const char kAutofillCreditCardPopupSettingsSuggestionValueKey[]; |
| @@ -71,6 +72,10 @@ bool IsCreditCardUploadEnabled(const PrefService* pref_service, |
| // enabled. |
| bool IsAutofillCreditCardPopupLayoutExperimentEnabled(); |
| +// Returns whether Autofill credit card last used date display experiment is |
| +// enabled. |
| +bool IsAutofillCreditCardLastUsedDateDisplayExperimentEnabled(); |
|
csashi
2017/01/03 20:54:06
Would DisplayLastUsedDateInsteadOfExpDate (or some
jiahuiguo
2017/01/18 00:13:44
Synced with Alex, we want to show the expiration d
|
| + |
| // Returns the background color for credit card autofill popup, or |
| // |SK_ColorTRANSPARENT| if the new credit card autofill popup layout experiment |
| // is not enabled. |