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

Unified Diff: chrome/browser/about_flags.cc

Issue 2201163003: [Autofill] Autofill CC signin promo: flag for all platforms. (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 2f5a6a18a9df3b84097a574f0a82937e68d37a72..7e4c1a47b2112a5823601c6abc060e73b567cb17 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -32,6 +32,7 @@
#include "chrome/common/features.h"
#include "chrome/grit/chromium_strings.h"
#include "chrome/grit/generated_resources.h"
+#include "components/autofill/core/browser/autofill_experiments.h"
#include "components/autofill/core/common/autofill_switches.h"
#include "components/browser_sync/common/browser_sync_switches.h"
#include "components/cloud_devices/common/cloud_devices_switches.h"
@@ -79,7 +80,6 @@
#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
@@ -767,6 +767,10 @@ const FeatureEntry kFeatureEntries[] = {
IDS_FLAGS_SHOW_AUTOFILL_TYPE_PREDICTIONS_NAME,
IDS_FLAGS_SHOW_AUTOFILL_TYPE_PREDICTIONS_DESCRIPTION, kOsAll,
SINGLE_VALUE_TYPE(autofill::switches::kShowAutofillTypePredictions)},
+ {"enable-credit-card-signin-promo",
+ IDS_FLAGS_ENABLE_AUTOFILL_CREDIT_CARD_SIGNIN_PROMO_NAME,
+ IDS_FLAGS_ENABLE_AUTOFILL_CREDIT_CARD_SIGNIN_PROMO_DESCRIPTION, kOsAll,
+ FEATURE_VALUE_TYPE(autofill::kAutofillCreditCardSigninPromo)},
{"smooth-scrolling", // FLAGS:RECORD_UMA
IDS_FLAGS_SMOOTH_SCROLLING_NAME, IDS_FLAGS_SMOOTH_SCROLLING_DESCRIPTION,
// Mac has a separate implementation with its own setting to disable.
@@ -2044,10 +2048,6 @@ 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