Commit d3ddfcbe authored by Moe Ahmadi's avatar Moe Ahmadi Committed by Commit Bot

[AF] Adds flags for restricting formless form extraction to about_flags

Bug: 834404
Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
Change-Id: I95e93dfae14271e2cd08a42685b8e3f3ad9ff169
Reviewed-on: https://chromium-review.googlesource.com/1022076Reviewed-by: default avatarRoger McFarlane <rogerm@chromium.org>
Commit-Queue: Moe Ahmadi <mahmadi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#552437}
parent f367d108
...@@ -3807,6 +3807,14 @@ const FeatureEntry kFeatureEntries[] = { ...@@ -3807,6 +3807,14 @@ const FeatureEntry kFeatureEntries[] = {
flag_descriptions::kAutofillDynamicFormsDescription, kOsAll, flag_descriptions::kAutofillDynamicFormsDescription, kOsAll,
FEATURE_VALUE_TYPE(autofill::features::kAutofillDynamicForms)}, FEATURE_VALUE_TYPE(autofill::features::kAutofillDynamicForms)},
{"autofill-restrict-formless-form-extraction",
flag_descriptions::kAutofillRestrictUnownedFieldsToFormlessCheckoutName,
flag_descriptions::
kAutofillRestrictUnownedFieldsToFormlessCheckoutDescription,
kOsAll,
FEATURE_VALUE_TYPE(
autofill::features::kAutofillRestrictUnownedFieldsToFormlessCheckout)},
#if defined(TOOLKIT_VIEWS) #if defined(TOOLKIT_VIEWS)
{"views-cast-dialog", flag_descriptions::kViewsCastDialogName, {"views-cast-dialog", flag_descriptions::kViewsCastDialogName,
flag_descriptions::kViewsCastDialogDescription, kOsDesktop, flag_descriptions::kViewsCastDialogDescription, kOsDesktop,
......
...@@ -59,6 +59,11 @@ const char kAutofillDynamicFormsName[] = "Autofill Dynamic Forms"; ...@@ -59,6 +59,11 @@ const char kAutofillDynamicFormsName[] = "Autofill Dynamic Forms";
const char kAutofillDynamicFormsDescription[] = const char kAutofillDynamicFormsDescription[] =
"Allows autofill to fill dynamically changing forms"; "Allows autofill to fill dynamically changing forms";
const char kAutofillRestrictUnownedFieldsToFormlessCheckoutName[] =
"Restrict formless form extraction";
const char kAutofillRestrictUnownedFieldsToFormlessCheckoutDescription[] =
"Restrict extraction of formless forms to checkout flows";
const char kAutoplayPolicyName[] = "Autoplay policy"; const char kAutoplayPolicyName[] = "Autoplay policy";
const char kAutoplayPolicyDescription[] = const char kAutoplayPolicyDescription[] =
"Policy used when deciding if audio or video is allowed to autoplay."; "Policy used when deciding if audio or video is allowed to autoplay.";
......
...@@ -67,6 +67,9 @@ extern const char kAsyncImageDecodingDescription[]; ...@@ -67,6 +67,9 @@ extern const char kAsyncImageDecodingDescription[];
extern const char kAutofillDynamicFormsName[]; extern const char kAutofillDynamicFormsName[];
extern const char kAutofillDynamicFormsDescription[]; extern const char kAutofillDynamicFormsDescription[];
extern const char kAutofillRestrictUnownedFieldsToFormlessCheckoutName[];
extern const char kAutofillRestrictUnownedFieldsToFormlessCheckoutDescription[];
extern const char kAutoplayPolicyName[]; extern const char kAutoplayPolicyName[];
extern const char kAutoplayPolicyDescription[]; extern const char kAutoplayPolicyDescription[];
......
...@@ -264,6 +264,13 @@ const flags_ui::FeatureEntry kFeatureEntries[] = { ...@@ -264,6 +264,13 @@ const flags_ui::FeatureEntry kFeatureEntries[] = {
{"autofill-dynamic-forms", flag_descriptions::kAutofillDynamicFormsName, {"autofill-dynamic-forms", flag_descriptions::kAutofillDynamicFormsName,
flag_descriptions::kAutofillDynamicFormsDescription, flags_ui::kOsIos, flag_descriptions::kAutofillDynamicFormsDescription, flags_ui::kOsIos,
FEATURE_VALUE_TYPE(autofill::features::kAutofillDynamicForms)}, FEATURE_VALUE_TYPE(autofill::features::kAutofillDynamicForms)},
{"autofill-restrict-formless-form-extraction",
flag_descriptions::kAutofillRestrictUnownedFieldsToFormlessCheckoutName,
flag_descriptions::
kAutofillRestrictUnownedFieldsToFormlessCheckoutDescription,
flags_ui::kOsIos,
FEATURE_VALUE_TYPE(
autofill::features::kAutofillRestrictUnownedFieldsToFormlessCheckout)},
{"ui-refresh-location-bar", flag_descriptions::kUIRefreshLocationBarName, {"ui-refresh-location-bar", flag_descriptions::kUIRefreshLocationBarName,
flag_descriptions::kUIRefreshLocationBarDescription, flags_ui::kOsIos, flag_descriptions::kUIRefreshLocationBarDescription, flags_ui::kOsIos,
FEATURE_VALUE_TYPE(kUIRefreshLocationBar)}, FEATURE_VALUE_TYPE(kUIRefreshLocationBar)},
......
...@@ -20,6 +20,11 @@ const char kAutofillDynamicFormsName[] = "Autofill dynamic forms"; ...@@ -20,6 +20,11 @@ const char kAutofillDynamicFormsName[] = "Autofill dynamic forms";
const char kAutofillDynamicFormsDescription[] = const char kAutofillDynamicFormsDescription[] =
"Refills forms that dynamically change after an initial fill"; "Refills forms that dynamically change after an initial fill";
const char kAutofillRestrictUnownedFieldsToFormlessCheckoutName[] =
"Restrict formless form extraction";
const char kAutofillRestrictUnownedFieldsToFormlessCheckoutDescription[] =
"Restrict extraction of formless forms to checkout flows";
const char kBrowserTaskScheduler[] = "Task Scheduler"; const char kBrowserTaskScheduler[] = "Task Scheduler";
const char kBrowserTaskSchedulerDescription[] = const char kBrowserTaskSchedulerDescription[] =
"Enables redirection of some task posting APIs to the task scheduler."; "Enables redirection of some task posting APIs to the task scheduler.";
......
...@@ -15,6 +15,11 @@ extern const char kAutofillIOSDelayBetweenFieldsDescription[]; ...@@ -15,6 +15,11 @@ extern const char kAutofillIOSDelayBetweenFieldsDescription[];
extern const char kAutofillDynamicFormsName[]; extern const char kAutofillDynamicFormsName[];
extern const char kAutofillDynamicFormsDescription[]; extern const char kAutofillDynamicFormsDescription[];
// Title and description for the flag to restrict extraction of formless forms
// to checkout flows.
extern const char kAutofillRestrictUnownedFieldsToFormlessCheckoutName[];
extern const char kAutofillRestrictUnownedFieldsToFormlessCheckoutDescription[];
// Title and description for the flag to control redirection to the task // Title and description for the flag to control redirection to the task
// scheduler. // scheduler.
extern const char kBrowserTaskScheduler[]; extern const char kBrowserTaskScheduler[];
......
...@@ -27724,6 +27724,8 @@ from previous Chrome versions. ...@@ -27724,6 +27724,8 @@ from previous Chrome versions.
<int value="1689183477" label="enable-merge-key-char-events"/> <int value="1689183477" label="enable-merge-key-char-events"/>
<int value="1690837904" label="save-previous-document-resources"/> <int value="1690837904" label="save-previous-document-resources"/>
<int value="1691568199" label="AndroidSpellCheckerNonLowEnd:disabled"/> <int value="1691568199" label="AndroidSpellCheckerNonLowEnd:disabled"/>
<int value="1694766748"
label="AutofillRestrictUnownedFieldsToFormlessCheckout:enabled"/>
<int value="1694854500" label="disable-save-password-bubble"/> <int value="1694854500" label="disable-save-password-bubble"/>
<int value="1696139514" label="enable-ble-advertising-in-apps"/> <int value="1696139514" label="enable-ble-advertising-in-apps"/>
<int value="1697189972" label="WebPaymentsSingleAppUiSkip:disabled"/> <int value="1697189972" label="WebPaymentsSingleAppUiSkip:disabled"/>
...@@ -27837,6 +27839,8 @@ from previous Chrome versions. ...@@ -27837,6 +27839,8 @@ from previous Chrome versions.
<int value="1942911276" label="enable-grouped-history"/> <int value="1942911276" label="enable-grouped-history"/>
<int value="1944156526" label="sync-url"/> <int value="1944156526" label="sync-url"/>
<int value="1947350992" label="drop-sync-credential:disabled"/> <int value="1947350992" label="drop-sync-credential:disabled"/>
<int value="1949019439"
label="AutofillRestrictUnownedFieldsToFormlessCheckout:disabled"/>
<int value="1949908940" label="disable-zip-archiver-unpacker"/> <int value="1949908940" label="disable-zip-archiver-unpacker"/>
<int value="1951466218" label="enable-data-reduction-proxy-lite-page"/> <int value="1951466218" label="enable-data-reduction-proxy-lite-page"/>
<int value="1955677113" label="trace-export-events-to-etw"/> <int value="1955677113" label="trace-export-events-to-etw"/>
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