Chromium Code Reviews| 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..d28a21eb049c2dcf68269ccac3e8aea1ff37e949 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,10 @@ bool IsAutofillUpstreamRequestCvcIfMissingExperimentEnabled() { |
| #endif |
| } |
| +bool IsAutofillUpstreamShowNewUiExperimentEnabled() { |
|
jiahuiguo
2017/08/09 00:33:37
Also add macro?
Jared Saul
2017/08/09 00:45:24
Done; discussed offline.
|
| + return base::FeatureList::IsEnabled(kAutofillUpstreamShowNewUi); |
| +} |
| + |
| base::TimeDelta GetMaxTimeSinceAutofillProfileUseForCardUpload() { |
| int value; |
| const std::string param_value = variations::GetVariationParamValueByFeature( |