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

Unified Diff: chrome/browser/about_flags.cc

Issue 2202323002: [Autofill] Add an entry to chrome://flags for the Autofill CC signin promo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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') | no next file » | 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 9e1908ca7cdcc75abacbe8d3501c29ddd50d4d6a..2f5a6a18a9df3b84097a574f0a82937e68d37a72 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -79,6 +79,7 @@
#if defined(OS_ANDROID)
#include "chrome/browser/android/chrome_feature_list.h"
+#include "components/autofill/core/browser/autofill_experiments.h"
#else
#include "ui/message_center/message_center_switches.h"
#endif
@@ -2043,6 +2044,10 @@ const FeatureEntry kFeatureEntries[] = {
{"enable-web-payments", IDS_FLAGS_ENABLE_WEB_PAYMENTS_NAME,
IDS_FLAGS_ENABLE_WEB_PAYMENTS_DESCRIPTION, kOsAndroid,
FEATURE_VALUE_TYPE(features::kWebPayments)},
+ {"enable-credit-card-signin-promo",
+ IDS_FLAGS_ENABLE_AUTOFILL_CREDIT_CARD_SIGNIN_PROMO_NAME,
+ IDS_FLAGS_ENABLE_AUTOFILL_CREDIT_CARD_SIGNIN_PROMO_DESCRIPTION, kOsAndroid,
+ FEATURE_VALUE_TYPE(autofill::kAutofillCreditCardSigninPromo)},
#endif // defined(OS_ANDROID)
// NOTE: Adding new command-line switches requires adding corresponding
// entries to enum "LoginCustomFlags" in histograms.xml. See note in
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698