[Autofill] Autofill CC signin promo: flag for all platforms.
Made a mistake, should be available to all platforms.
BUG=626442
TEST=manual
Review-Url: https://codereview.chromium.org/2201163003
Cr-Commit-Position: refs/heads/master@{#409524}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 17759b3..d64fedb 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 @@
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.
@@ -2038,10 +2042,6 @@
{"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