Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(322)

Unified Diff: components/autofill/core/browser/autofill_experiments.cc

Issue 2026353002: [Autofill] Credit Card Assist Infobar (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleaning Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 61365695a9a5b35ecf2ad4e073497c5503a1c90f..03731e9848a58912843f770f41cd1ccac9103d68 100644
--- a/components/autofill/core/browser/autofill_experiments.cc
+++ b/components/autofill/core/browser/autofill_experiments.cc
@@ -19,6 +19,8 @@
namespace autofill {
+const base::Feature kAutofillCreditCardAssist{
+ "AutofillCreditCardAssist", base::FEATURE_DISABLED_BY_DEFAULT};
const base::Feature kAutofillProfileCleanup{"AutofillProfileCleanup",
base::FEATURE_DISABLED_BY_DEFAULT};
const base::Feature kAutofillCreditCardSigninPromo{
@@ -43,6 +45,10 @@ bool IsAutofillCreditCardSigninPromoEnabled() {
return base::FeatureList::IsEnabled(kAutofillCreditCardSigninPromo);
}
+bool IsAutofillCreditCardAssistEnabled() {
+ return base::FeatureList::IsEnabled(kAutofillCreditCardAssist);
+}
+
int GetCreditCardSigninPromoImpressionLimit() {
int impression_limit;
std::string param_value = variations::GetVariationParamValueByFeature(
« no previous file with comments | « components/autofill/core/browser/autofill_experiments.h ('k') | components/autofill/core/browser/autofill_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698