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

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

Issue 2839683002: Logs different SaveCardPrompt histogram names depending on if user (Closed)
Patch Set: Android compile error. Created 3 years, 8 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_manager.cc
diff --git a/components/autofill/core/browser/autofill_manager.cc b/components/autofill/core/browser/autofill_manager.cc
index 933b7c5dd41a1549fca6c368a1235d2e756ba4c3..3b76bb26e19187f359f580039fffcd04b3269aac 100644
--- a/components/autofill/core/browser/autofill_manager.cc
+++ b/components/autofill/core/browser/autofill_manager.cc
@@ -284,6 +284,8 @@ void AutofillManager::RegisterProfilePrefs(
registry->RegisterBooleanPref(prefs::kAutofillWalletImportEnabled, true);
registry->RegisterBooleanPref(
prefs::kAutofillWalletImportStorageCheckboxState, true);
+ registry->RegisterBooleanPref(prefs::kAutofillAcceptSaveCreditCardPromptState,
+ true);
}
void AutofillManager::SetExternalDelegate(AutofillExternalDelegate* delegate) {

Powered by Google App Engine
This is Rietveld 408576698