| 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 6466e071eeeda61995077f0eb774d0360522d808..fdf7e93cf789b6c38f29bd69b830136078e94d16 100644
|
| --- a/components/autofill/core/browser/autofill_experiments.cc
|
| +++ b/components/autofill/core/browser/autofill_experiments.cc
|
| @@ -42,6 +42,8 @@ const base::Feature kAutofillSuppressDisusedAddresses{
|
| "AutofillSuppressDisusedAddresses", base::FEATURE_DISABLED_BY_DEFAULT};
|
| const base::Feature kAutofillUpstreamRequestCvcIfMissing{
|
| "AutofillUpstreamRequestCvcIfMissing", base::FEATURE_DISABLED_BY_DEFAULT};
|
| +const base::Feature kAutofillUpstreamShowNewUi{
|
| + "AutofillUpstreamShowNewUi", base::FEATURE_DISABLED_BY_DEFAULT};
|
| const base::Feature kAutofillUpstreamUseAutofillProfileComparator{
|
| "AutofillUpstreamUseAutofillProfileComparator",
|
| base::FEATURE_ENABLED_BY_DEFAULT};
|
| @@ -263,6 +265,14 @@ bool IsAutofillUpstreamRequestCvcIfMissingExperimentEnabled() {
|
| #endif
|
| }
|
|
|
| +bool IsAutofillUpstreamShowNewUiExperimentEnabled() {
|
| +#if defined(OS_ANDROID)
|
| + return false;
|
| +#else
|
| + return base::FeatureList::IsEnabled(kAutofillUpstreamShowNewUi);
|
| +#endif
|
| +}
|
| +
|
| base::TimeDelta GetMaxTimeSinceAutofillProfileUseForCardUpload() {
|
| int value;
|
| const std::string param_value = variations::GetVariationParamValueByFeature(
|
|
|