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

Side by Side Diff: components/autofill/core/common/autofill_pref_names.cc

Issue 2839683002: Logs different SaveCardPrompt histogram names depending on if user (Closed)
Patch Set: Uses no-suffix, 'PreviouslyAccepted' and 'PreviouslyDenied' for the save card prompt histograms. 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/autofill/core/common/autofill_pref_names.h" 5 #include "components/autofill/core/common/autofill_pref_names.h"
6 6
7 namespace autofill { 7 namespace autofill {
8 namespace prefs { 8 namespace prefs {
9 9
10 // Number of times the credit card signin promo has been shown. 10 // Number of times the credit card signin promo has been shown.
11 const char kAutofillCreditCardSigninPromoImpressionCount[] = 11 const char kAutofillCreditCardSigninPromoImpressionCount[] =
12 "autofill.credit_card_signin_promo_impression_count"; 12 "autofill.credit_card_signin_promo_impression_count";
13 13
14 // Boolean that is true if Autofill is enabled and allowed to save profile data. 14 // Boolean that is true if Autofill is enabled and allowed to save profile data.
15 const char kAutofillEnabled[] = "autofill.enabled"; 15 const char kAutofillEnabled[] = "autofill.enabled";
16 16
17 // Boolean that is true if Autofill address profiles were fixed regarding their 17 // Boolean that is true if Autofill address profiles were fixed regarding their
18 // bad use dates. 18 // bad use dates.
19 const char kAutofillProfileUseDatesFixed[] = "autofill.profile_use_dates_fixed"; 19 const char kAutofillProfileUseDatesFixed[] = "autofill.profile_use_dates_fixed";
20 20
21 // Boolean that's true when Wallet card and address import is enabled by the 21 // Boolean that's true when Wallet card and address import is enabled by the
22 // user. 22 // user.
23 const char kAutofillWalletImportEnabled[] = "autofill.wallet_import_enabled"; 23 const char kAutofillWalletImportEnabled[] = "autofill.wallet_import_enabled";
24 24
25 // Integer that is set to the last version where the profile deduping routine 25 // Integer that is set to the last version where the profile deduping routine
26 // was run. This routine will be run once per version. 26 // was run. This routine will be run once per version.
27 const char kAutofillLastVersionDeduped[] = "autofill.last_version_deduped"; 27 const char kAutofillLastVersionDeduped[] = "autofill.last_version_deduped";
28 28
29 // Boolean that allows the "Don't ask again for this card" checkbox to be 29 // Boolean that is set to the last choice user made when prompted for saving an
30 // sticky. 30 // unmasked server card locally.
31 const char kAutofillWalletImportStorageCheckboxState[] = 31 const char kAutofillWalletImportStorageCheckboxState[] =
32 "autofill.wallet_import_storage_checkbox_state"; 32 "autofill.wallet_import_storage_checkbox_state";
33 33
34 // Integer that is set to the last choice user made when prompted for saving a
35 // credit card. The prompt is for user's consent in saving the card in the
36 // server for signed in users and saving the card locally for non signed-in
37 // users.
38 const char kAutofillAcceptSaveCreditCardPromptState[] =
39 "autofill.accept_save_credit_card_prompt_state";
40
34 } // namespace prefs 41 } // namespace prefs
35 } // namespace autofill 42 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698