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

Unified Diff: chrome/browser/about_flags.cc

Issue 2026353002: [Autofill] Credit Card Assist Infobar (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed CreateCreditCardFillingInfoBar from interface 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
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 80be2c4dda58cea8542419471b2074a4c6bc0425..2f36e5a1d67ed1f41cb0ee7aa5b618382c462eed 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -81,6 +81,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
@@ -1479,10 +1480,15 @@ const FeatureEntry kFeatureEntries[] = {
IDS_FLAGS_NEW_ZIP_UNPACKER_DESCRIPTION, kOsCrOS,
SINGLE_DISABLE_VALUE_TYPE(chromeos::switches::kDisableNewZIPUnpacker)},
#endif // defined(OS_CHROMEOS)
+#if defined(OS_ANDROID)
+ {"enable-credit-card-assist", IDS_FLAGS_CREDIT_CARD_ASSIST_NAME,
+ IDS_FLAGS_CREDIT_CARD_ASSIST_DESCRIPTION, kOsAndroid,
+ FEATURE_VALUE_TYPE(autofill::kAutofillCreditCardAssist)},
{"enable-credit-card-scan", IDS_FLAGS_CREDIT_CARD_SCAN_NAME,
IDS_FLAGS_CREDIT_CARD_SCAN_DESCRIPTION, kOsAndroid,
ENABLE_DISABLE_VALUE_TYPE(autofill::switches::kEnableCreditCardScan,
autofill::switches::kDisableCreditCardScan)},
+#endif // defined(OS_ANDROID)
#if defined(OS_CHROMEOS)
{"disable-captive-portal-bypass-proxy",
IDS_FLAGS_CAPTIVE_PORTAL_BYPASS_PROXY_NAME,

Powered by Google App Engine
This is Rietveld 408576698