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

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

Issue 1785923010: Remove kAutofillWalletSyncExperimentEnabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mark wallet_sync as obsolete, remove wallet_sync_enabled. Created 4 years, 9 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
« no previous file with comments | « components/autofill/core/browser/BUILD.gn ('k') | components/autofill/core/browser/autofill_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b878035e5eb77c5e9a00c6e72da56c6e8b6a78eb..232f1cefdbeb662718bd2532a5013cbcb3814cef 100644
--- a/components/autofill/core/browser/autofill_experiments.cc
+++ b/components/autofill/core/browser/autofill_experiments.cc
@@ -74,11 +74,9 @@ bool IsCreditCardUploadEnabled(const PrefService* pref_service,
return false;
}
- // Check Payments integration setting.
- if (!pref_service->GetBoolean(prefs::kAutofillWalletSyncExperimentEnabled) ||
- !pref_service->GetBoolean(prefs::kAutofillWalletImportEnabled)) {
+ // Check Payments integration user setting.
+ if (!pref_service->GetBoolean(prefs::kAutofillWalletImportEnabled))
return false;
- }
// Check that the user is logged into a supported domain.
if (user_email.empty())
« no previous file with comments | « components/autofill/core/browser/BUILD.gn ('k') | components/autofill/core/browser/autofill_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698