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

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

Issue 2212063002: [Autofill] Implement Autofill Assistant infobar for iOS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix ifdef 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 03731e9848a58912843f770f41cd1ccac9103d68..102af865cbb79cfd6b6e137a2f6bd890f545009d 100644
--- a/components/autofill/core/browser/autofill_experiments.cc
+++ b/components/autofill/core/browser/autofill_experiments.cc
@@ -46,7 +46,11 @@ bool IsAutofillCreditCardSigninPromoEnabled() {
}
bool IsAutofillCreditCardAssistEnabled() {
+#if !defined(OS_ANDROID) && !defined(OS_IOS)
+ return false;
+#else
return base::FeatureList::IsEnabled(kAutofillCreditCardAssist);
+#endif
}
int GetCreditCardSigninPromoImpressionLimit() {

Powered by Google App Engine
This is Rietveld 408576698