[Save card dialog] Add flag to control expiration date formatting
This introduces a flag to control if the expiration date shown on the
save card dialog (both local and upstream) includes prefix "Exp:",
so we can A/B test if dropping the label has any effect on acceptance
ratios for the dialog.
Bug: 860493
Change-Id: Ia9f9fccab959e7548b0a4c4143b66eefd742f4c2
Reviewed-on: https://chromium-review.googlesource.com/1127350
Reviewed-by: Sebastien Seguin-Gagnon <[email protected]>
Commit-Queue: Fabio Tirelo <[email protected]>
Cr-Commit-Position: refs/heads/master@{#572979}
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
index 999656cae..492ffca1 100644
--- a/chrome/browser/flag_descriptions.cc
+++ b/chrome/browser/flag_descriptions.cc
@@ -391,6 +391,12 @@
"If enabled, the Autofill Dropdown will be built natively using Views, "
"rather than painted directly to a canvas.";
+const char kEnableAutofillSaveCardDialogUnlabeledExpirationDateName[] =
+ "Show unlabeled expiration dates on the save card dialog";
+const char kEnableAutofillSaveCardDialogUnlabeledExpirationDateDescription[] =
+ "If enabled, expiration dates on the save card dialog (both local and "
+ "upstream) are shown without an 'Exp:' label.";
+
const char kEnableAutofillSendExperimentIdsInPaymentsRPCsName[] =
"Send experiment flag IDs in calls to Google Payments";
const char kEnableAutofillSendExperimentIdsInPaymentsRPCsDescription[] =