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

Unified Diff: components/autofill/core/common/autofill_pref_names.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/common/autofill_pref_names.cc
diff --git a/components/autofill/core/common/autofill_pref_names.cc b/components/autofill/core/common/autofill_pref_names.cc
index 1dc5b59116d2c2175491b9861c3badb749cd90d1..e78b15ba95cb971903739d51f5390ab0a3ebe9e4 100644
--- a/components/autofill/core/common/autofill_pref_names.cc
+++ b/components/autofill/core/common/autofill_pref_names.cc
@@ -26,10 +26,17 @@ const char kAutofillWalletImportEnabled[] = "autofill.wallet_import_enabled";
// was run. This routine will be run once per version.
const char kAutofillLastVersionDeduped[] = "autofill.last_version_deduped";
-// Boolean that allows the "Don't ask again for this card" checkbox to be
-// sticky.
+// Boolean that is set to the last choice user made when prompted for saving an
+// unmasked server card locally.
const char kAutofillWalletImportStorageCheckboxState[] =
"autofill.wallet_import_storage_checkbox_state";
+// Boolean that is set to the last choice user made when prompted for saving a
+// credit card. The prompt is for user's consent in saving the card in the
+// server for signed in users and saving the card locally for non signed-in
+// users.
+const char kAutofillAcceptSaveCreditCardPromptState[] =
+ "autofill.accept_save_credit_card_prompt_state";
+
} // namespace prefs
} // namespace autofill

Powered by Google App Engine
This is Rietveld 408576698