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

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

Issue 2839683002: Logs different SaveCardPrompt histogram names depending on if user (Closed)
Patch Set: Uses LogUMAHistogramEnumeration instead of UMA_HISTOGRAM_ENUMERATION because we change histogram na… 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 6921626a500115c18287ed9fd16677a5b43629e3..b3a57d3aecc3f77e7a782d837650c9cf8a355725 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,
Mathieu 2017/04/26 14:31:17 you are starting with a default state that the use
csashi 2017/04/26 17:58:31 Done. It seemed reasonable to assume that the boo
+ true);
}
void AutofillManager::SetExternalDelegate(AutofillExternalDelegate* delegate) {

Powered by Google App Engine
This is Rietveld 408576698