Commit 2e55e7f1 authored by Jared Saul's avatar Jared Saul Committed by Commit Bot

[Autofill] Add Autofill StrikeDatabase switch to about_flags for iOS

Bug: 884817
Change-Id: Ie2535ee36d806801ecc98891c6ec37c53a339365
Reviewed-on: https://chromium-review.googlesource.com/c/1302329Reviewed-by: default avatarMoe Ahmadi <mahmadi@chromium.org>
Commit-Queue: Jared Saul <jsaul@google.com>
Cr-Commit-Position: refs/heads/master@{#603185}
parent 25eb9e4d
...@@ -236,6 +236,13 @@ const flags_ui::FeatureEntry kFeatureEntries[] = { ...@@ -236,6 +236,13 @@ const flags_ui::FeatureEntry kFeatureEntries[] = {
flags_ui::kOsIos, flags_ui::kOsIos,
FEATURE_VALUE_TYPE( FEATURE_VALUE_TYPE(
autofill::features::kAutofillUpstreamUseGooglePayBrandingOnMobile)}, autofill::features::kAutofillUpstreamUseGooglePayBrandingOnMobile)},
{"enable-autofill-save-credit-card-uses-strike-system",
flag_descriptions::kEnableAutofillSaveCreditCardUsesStrikeSystemName,
flag_descriptions::
kEnableAutofillSaveCreditCardUsesStrikeSystemDescription,
flags_ui::kOsIos,
FEATURE_VALUE_TYPE(
autofill::features::kAutofillSaveCreditCardUsesStrikeSystem)},
{"use-sync-sandbox", flag_descriptions::kSyncSandboxName, {"use-sync-sandbox", flag_descriptions::kSyncSandboxName,
flag_descriptions::kSyncSandboxDescription, flags_ui::kOsIos, flag_descriptions::kSyncSandboxDescription, flags_ui::kOsIos,
SINGLE_VALUE_TYPE_AND_VALUE( SINGLE_VALUE_TYPE_AND_VALUE(
......
...@@ -40,6 +40,12 @@ const char kEnableAutofillCreditCardUploadUpdatePromptExplanationDescription[] = ...@@ -40,6 +40,12 @@ const char kEnableAutofillCreditCardUploadUpdatePromptExplanationDescription[] =
"If enabled, changes the server save card prompt's explanation to mention " "If enabled, changes the server save card prompt's explanation to mention "
"the saving of the billing address."; "the saving of the billing address.";
const char kEnableAutofillSaveCreditCardUsesStrikeSystemName[] =
"Enable limit on offering to save the same credit card repeatedly";
const char kEnableAutofillSaveCreditCardUsesStrikeSystemDescription[] =
"If enabled, prevents popping up the credit card offer-to-save prompt if "
"it has repeatedly been ignored, declined, or failed.";
const char kSyncSandboxName[] = "Use Chrome Sync sandbox"; const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
const char kSyncSandboxDescription[] = const char kSyncSandboxDescription[] =
"Connects to the testing server for Chrome Sync."; "Connects to the testing server for Chrome Sync.";
......
...@@ -30,6 +30,12 @@ extern const char kEnableAutofillCreditCardUploadUpdatePromptExplanationName[]; ...@@ -30,6 +30,12 @@ extern const char kEnableAutofillCreditCardUploadUpdatePromptExplanationName[];
extern const char extern const char
kEnableAutofillCreditCardUploadUpdatePromptExplanationDescription[]; kEnableAutofillCreditCardUploadUpdatePromptExplanationDescription[];
// Title and description for the flag to control if credit card save should
// utilize the Autofill StrikeDatabase when determining whether save should be
// offered.
extern const char kEnableAutofillSaveCreditCardUsesStrikeSystemName[];
extern const char kEnableAutofillSaveCreditCardUsesStrikeSystemDescription[];
// Title and description for the flag to control if Chrome Sync should use the // Title and description for the flag to control if Chrome Sync should use the
// sandbox servers. // sandbox servers.
extern const char kSyncSandboxName[]; extern const char kSyncSandboxName[];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment