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

Unified Diff: chrome/browser/about_flags.cc

Issue 2711543002: Experiment to add bank name in autofill ui. (Closed)
Patch Set: For git sync and file format Created 3 years, 8 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 | « no previous file | chrome/browser/flag_descriptions.h » ('j') | components/autofill/core/browser/credit_card.cc » ('J')
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 aa20d19c26515fc3eea870732d608bffee6ca69e..f1e986b1d4724eafb69620f6664c2842dcb108c5 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -846,6 +846,16 @@ const FeatureEntry::FeatureVariation kDataReductionMainMenuFeatureVariations[] =
{{"(persistent)", kPersistentMenuItemEnabled,
arraysize(kPersistentMenuItemEnabled), nullptr}};
#endif // OS_ANDROID
+const FeatureEntry::FeatureParam
+ kAutofillCreditCardBankNameFeatureVariationShowInTitle[] = {
+ {"show_bank_name_in_title", "true"}};
+
+const FeatureEntry::FeatureVariation
+ kAutofillCreditCardBankNameFeatureVariations[] = {
+ {"Show bank name in title",
+ kAutofillCreditCardBankNameFeatureVariationShowInTitle,
+ arraysize(kAutofillCreditCardBankNameFeatureVariationShowInTitle),
+ nullptr}};
// RECORDING USER METRICS FOR FLAGS:
// -----------------------------------------------------------------------------
@@ -2459,6 +2469,7 @@ const FeatureEntry kFeatureEntries[] = {
flag_descriptions::kNativeAndroidHistoryManagerDescription, kOsAndroid,
FEATURE_VALUE_TYPE(features::kNativeAndroidHistoryManager)},
#endif // OS_ANDROID
+
{"enable-autofill-credit-card-last-used-date-display",
flag_descriptions::kEnableAutofillCreditCardLastUsedDateDisplay,
flag_descriptions::kEnableAutofillCreditCardLastUsedDateDisplayDescription,
@@ -2467,6 +2478,12 @@ const FeatureEntry kFeatureEntries[] = {
autofill::kAutofillCreditCardLastUsedDateDisplay,
kAutofillCreditCardLastUsedDateFeatureVariations,
"AutofillCreditCardLastUsedDate")},
+
sebsg 2017/04/12 22:18:15 nit: remove new-line
Shanfeng 2017/04/13 18:29:09 Done.
+ {"enable-autofill-credit-card-bank-name-display",
+ flag_descriptions::kEnableAutofillCreditCardBankNameDisplay,
+ flag_descriptions::kEnableAutofillCreditCardBankNameDisplayDescription,
+ kOsAll, FEATURE_VALUE_TYPE(autofill::kAutofillCreditCardBankNameDisplay)},
+
#if defined(OS_WIN)
{"windows10-custom-titlebar",
flag_descriptions::kWindows10CustomTitlebarName,
« no previous file with comments | « no previous file | chrome/browser/flag_descriptions.h » ('j') | components/autofill/core/browser/credit_card.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698