Commit 7177f9ff authored by Christoph Schwering's avatar Christoph Schwering Committed by Commit Bot

[Autofill] Removed obsolete feature AutofillSaveOnProbablySubmitted.

The feature is enabled by default and is not subject to an active
experiment.

Bug: 1007974
Change-Id: I96bae8f4a0ad8493e1c32bfecfe9814e4190fef5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2409907
Commit-Queue: Christoph Schwering <schwering@google.com>
Reviewed-by: default avatarMatthias Körber <koerber@google.com>
Cr-Commit-Position: refs/heads/master@{#809604}
parent e584340c
...@@ -679,13 +679,6 @@ void AutofillManager::OnFormSubmittedImpl(const FormData& form, ...@@ -679,13 +679,6 @@ void AutofillManager::OnFormSubmittedImpl(const FormData& form,
<< Br{} << form; << Br{} << form;
} }
// TODO(crbug.com/801698): handle PROBABLY_FORM_SUBMITTED.
if (source == SubmissionSource::PROBABLY_FORM_SUBMITTED &&
!base::FeatureList::IsEnabled(
features::kAutofillSaveOnProbablySubmitted)) {
return;
}
// Always upload page language metrics. // Always upload page language metrics.
LogLanguageMetrics(client_->GetLanguageState()); LogLanguageMetrics(client_->GetLanguageState());
......
...@@ -241,9 +241,6 @@ const base::Feature kAutofillRichMetadataQueries{ ...@@ -241,9 +241,6 @@ const base::Feature kAutofillRichMetadataQueries{
const base::Feature kAutofillSaveAndFillVPA{"AutofillSaveAndFillVPA", const base::Feature kAutofillSaveAndFillVPA{"AutofillSaveAndFillVPA",
base::FEATURE_DISABLED_BY_DEFAULT}; base::FEATURE_DISABLED_BY_DEFAULT};
const base::Feature kAutofillSaveOnProbablySubmitted{
"AutofillSaveOnProbablySubmitted", base::FEATURE_ENABLED_BY_DEFAULT};
// Enables creating a new form section when an unstructured name input // Enables creating a new form section when an unstructured name input
// containing a |NAME_LAST| field is encountered after a structured name input. // containing a |NAME_LAST| field is encountered after a structured name input.
const base::Feature kAutofillSectionUponRedundantNameInfo{ const base::Feature kAutofillSectionUponRedundantNameInfo{
......
...@@ -64,7 +64,6 @@ extern const base::Feature kAutofillProfileServerValidation; ...@@ -64,7 +64,6 @@ extern const base::Feature kAutofillProfileServerValidation;
extern const base::Feature kAutofillRestrictUnownedFieldsToFormlessCheckout; extern const base::Feature kAutofillRestrictUnownedFieldsToFormlessCheckout;
extern const base::Feature kAutofillRichMetadataQueries; extern const base::Feature kAutofillRichMetadataQueries;
extern const base::Feature kAutofillSaveAndFillVPA; extern const base::Feature kAutofillSaveAndFillVPA;
extern const base::Feature kAutofillSaveOnProbablySubmitted;
extern const base::Feature kAutofillSectionUponRedundantNameInfo; extern const base::Feature kAutofillSectionUponRedundantNameInfo;
extern const base::Feature kAutofillServerCommunication; extern const base::Feature kAutofillServerCommunication;
extern const base::Feature kAutofillShowAllSuggestionsOnPrefilledForms; extern const base::Feature kAutofillShowAllSuggestionsOnPrefilledForms;
......
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