Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Unified Diff: chrome/browser/about_flags.cc

Issue 2607043002: [Autofill] Credit Card Autofill Last Used Date Experiment (Closed)
Patch Set: Addressed comments Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | components/autofill/core/browser/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 2860a915a2d06a354f05478a02c296eb3c1e47ab..b39ede4b2e958c6c0e088d70e3a7d0998afae7a9 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -670,6 +670,17 @@ kAutofillCreditCardPopupLayoutFeatureVariations[] = {
nullptr}};
#endif // OS_ANDROID
+const FeatureEntry::FeatureParam
+ kAutofillCreditCardLastUsedDateFeatureVariationExpDate[] = {
+ {"show_expiration_date", "true"}};
+
+const FeatureEntry::FeatureVariation
+ kAutofillCreditCardLastUsedDateFeatureVariations[] = {
+ {"Display expiration date",
+ kAutofillCreditCardLastUsedDateFeatureVariationExpDate,
+ arraysize(kAutofillCreditCardLastUsedDateFeatureVariationExpDate),
+ nullptr}};
+
// RECORDING USER METRICS FOR FLAGS:
// -----------------------------------------------------------------------------
// The first line of the entry is the internal name.
@@ -2155,7 +2166,13 @@ const FeatureEntry kFeatureEntries[] = {
IDS_NATIVE_ANDROID_HISTORY_MANAGER_DESCRIPTION, kOsAndroid,
FEATURE_VALUE_TYPE(features::kNativeAndroidHistoryManager)},
#endif // OS_ANDROID
-
+ {"enable-autofill-credit-card-last-used-date-display",
+ IDS_FLAGS_ENABLE_AUTOFILL_CREDIT_CARD_LAST_USED_DATE_DISPLAY,
+ IDS_FLAGS_ENABLE_AUTOFILL_CREDIT_CARD_LAST_USED_DATE_DISPLAY_DESCRIPTION,
+ kOsAll, FEATURE_WITH_VARIATIONS_VALUE_TYPE(
+ autofill::kAutofillCreditCardLastUsedDateDisplay,
+ kAutofillCreditCardLastUsedDateFeatureVariations,
+ "AutofillCreditCardLastUsedDate")},
#if defined(OS_WIN)
{"windows10-custom-titlebar", IDS_FLAGS_WINDOWS10_CUSTOM_TITLEBAR_NAME,
IDS_FLAGS_WINDOWS10_CUSTOM_TITLEBAR_DESCRIPTION, kOsWin,
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | components/autofill/core/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698