Add mixed forms flags to chrome://flags
Exposes existing feature flags for mixed forms interstitials and
disabling autofill on mixed forms in chrome://flags.
Bug: 1093102, 1093103
Change-Id: I5d8fef15579b9321148fb893e9881cdc3a68f22b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2303990
Commit-Queue: Carlos IL <[email protected]>
Reviewed-by: Emily Stark <[email protected]>
Cr-Commit-Position: refs/heads/master@{#789310}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index b6938be0..dfdf31a 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -5946,9 +5946,19 @@
flag_descriptions::kEditPasswordsInDesktopSettingsName,
flag_descriptions::kEditPasswordsInDesktopSettingsDescription, kOsDesktop,
FEATURE_VALUE_TYPE(
- password_manager::features::kEditPasswordsInDesktopSettings)}
+ password_manager::features::kEditPasswordsInDesktopSettings)},
#endif // !defined(OS_ANDROID)
+ {"mixed-forms-disable-autofill",
+ flag_descriptions::kMixedFormsDisableAutofillName,
+ flag_descriptions::kMixedFormsDisableAutofillDescription, kOsAll,
+ FEATURE_VALUE_TYPE(autofill::features::kAutofillPreventMixedFormsFilling)},
+
+ {"mixed-forms-interstitial", flag_descriptions::kMixedFormsInterstitialName,
+ flag_descriptions::kMixedFormsInterstitialDescription, kOsAll,
+ FEATURE_VALUE_TYPE(
+ security_interstitials::kInsecureFormSubmissionInterstitial)}
+
// NOTE: Adding a new flag requires adding a corresponding entry to enum
// "LoginCustomFlags" in tools/metrics/histograms/enums.xml. See "Flag
// Histograms" in tools/metrics/histograms/README.md (run the