Commit 0835ae21 authored by Christoph Schwering's avatar Christoph Schwering Committed by Commit Bot

[Autofill] Removed obsolete feature AutofillAddressNormalizer.

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

Bug: 1007974
Change-Id: I4de8c6272901fceaf7c5105c87056748143c9c9d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2408757
Auto-Submit: Christoph Schwering <schwering@google.com>
Reviewed-by: default avatarMoe Ahmadi <mahmadi@chromium.org>
Reviewed-by: default avatarEvan Stade <estade@chromium.org>
Reviewed-by: default avatarMatthias Körber <koerber@google.com>
Commit-Queue: Christoph Schwering <schwering@google.com>
Cr-Commit-Position: refs/heads/master@{#810651}
parent 3543808c
...@@ -173,9 +173,7 @@ ukm::SourceId ChromeAutofillClient::GetUkmSourceId() { ...@@ -173,9 +173,7 @@ ukm::SourceId ChromeAutofillClient::GetUkmSourceId() {
} }
AddressNormalizer* ChromeAutofillClient::GetAddressNormalizer() { AddressNormalizer* ChromeAutofillClient::GetAddressNormalizer() {
if (base::FeatureList::IsEnabled(features::kAutofillAddressNormalizer)) return AddressNormalizerFactory::GetInstance();
return AddressNormalizerFactory::GetInstance();
return nullptr;
} }
const GURL& ChromeAutofillClient::GetLastCommittedURL() { const GURL& ChromeAutofillClient::GetLastCommittedURL() {
......
...@@ -24,11 +24,6 @@ namespace features { ...@@ -24,11 +24,6 @@ namespace features {
const base::Feature kAutofillAddressEnhancementVotes{ const base::Feature kAutofillAddressEnhancementVotes{
"kAutofillAddressEnhancementVotes", base::FEATURE_DISABLED_BY_DEFAULT}; "kAutofillAddressEnhancementVotes", base::FEATURE_DISABLED_BY_DEFAULT};
// Controls whether the AddressNormalizer is supplied. If available, it may be
// used to normalize address and will incur fetching rules from the server.
const base::Feature kAutofillAddressNormalizer{
"AutofillAddressNormalizer", base::FEATURE_ENABLED_BY_DEFAULT};
// By default, AutofillAgent and, if |kAutofillProbableFormSubmissionInBrowser| // By default, AutofillAgent and, if |kAutofillProbableFormSubmissionInBrowser|
// is enabled, also ContentAutofillDriver omit duplicate form submissions, even // is enabled, also ContentAutofillDriver omit duplicate form submissions, even
// though the form's data may have changed substantially. If enabled, the // though the form's data may have changed substantially. If enabled, the
......
...@@ -22,7 +22,6 @@ namespace features { ...@@ -22,7 +22,6 @@ namespace features {
// All features in alphabetical order. // All features in alphabetical order.
extern const base::Feature kAutofillAddressEnhancementVotes; extern const base::Feature kAutofillAddressEnhancementVotes;
extern const base::Feature kAutofillAddressNormalizer;
extern const base::Feature kAutofillAllowDuplicateFormSubmissions; extern const base::Feature kAutofillAllowDuplicateFormSubmissions;
extern const base::Feature kAutofillAllowHtmlTypeCountryCodesWithFullNames; extern const base::Feature kAutofillAllowHtmlTypeCountryCodesWithFullNames;
extern const base::Feature kAutofillAllowNonHttpActivation; extern const base::Feature kAutofillAllowNonHttpActivation;
......
...@@ -180,9 +180,7 @@ ukm::SourceId ChromeAutofillClientIOS::GetUkmSourceId() { ...@@ -180,9 +180,7 @@ ukm::SourceId ChromeAutofillClientIOS::GetUkmSourceId() {
} }
AddressNormalizer* ChromeAutofillClientIOS::GetAddressNormalizer() { AddressNormalizer* ChromeAutofillClientIOS::GetAddressNormalizer() {
if (base::FeatureList::IsEnabled(features::kAutofillAddressNormalizer)) return AddressNormalizerFactory::GetInstance();
return AddressNormalizerFactory::GetInstance();
return nullptr;
} }
const GURL& ChromeAutofillClientIOS::GetLastCommittedURL() { const GURL& ChromeAutofillClientIOS::GetLastCommittedURL() {
......
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