| Index: components/autofill/core/browser/autofill_experiments.cc
|
| diff --git a/components/autofill/core/browser/autofill_experiments.cc b/components/autofill/core/browser/autofill_experiments.cc
|
| index 232f1cefdbeb662718bd2532a5013cbcb3814cef..364b8c622c964b5ba049f5ba67fb37856764e333 100644
|
| --- a/components/autofill/core/browser/autofill_experiments.cc
|
| +++ b/components/autofill/core/browser/autofill_experiments.cc
|
| @@ -5,6 +5,7 @@
|
| #include "components/autofill/core/browser/autofill_experiments.h"
|
|
|
| #include "base/command_line.h"
|
| +#include "base/feature_list.h"
|
| #include "base/metrics/field_trial.h"
|
| #include "base/strings/string_util.h"
|
| #include "build/build_config.h"
|
| @@ -16,6 +17,9 @@
|
|
|
| namespace autofill {
|
|
|
| +const base::Feature kAutofillProfileCleanup{"AutofillProfileCleanup",
|
| + base::FEATURE_DISABLED_BY_DEFAULT};
|
| +
|
| bool IsAutofillEnabled(const PrefService* pref_service) {
|
| return pref_service->GetBoolean(prefs::kAutofillEnabled);
|
| }
|
| @@ -26,6 +30,10 @@ bool IsInAutofillSuggestionsDisabledExperiment() {
|
| return group_name == "Disabled";
|
| }
|
|
|
| +bool IsAutofillProfileCleanupEnabled() {
|
| + return base::FeatureList::IsEnabled(kAutofillProfileCleanup);
|
| +}
|
| +
|
| bool OfferStoreUnmaskedCards() {
|
| #if defined(OS_LINUX) && !defined(OS_CHROMEOS)
|
| // The checkbox can be forced on with a flag, but by default we don't store
|
|
|