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

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

Issue 2839683002: Logs different SaveCardPrompt histogram names depending on if user (Closed)
Patch Set: Adds DCHECK for previous save card prompt user decision. Created 3 years, 7 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 #ifndef COMPONENTS_AUTOFILL_CORE_COMMON_AUTOFILL_PREF_NAMES_H_ 5 #ifndef COMPONENTS_AUTOFILL_CORE_COMMON_AUTOFILL_PREF_NAMES_H_
6 #define COMPONENTS_AUTOFILL_CORE_COMMON_AUTOFILL_PREF_NAMES_H_ 6 #define COMPONENTS_AUTOFILL_CORE_COMMON_AUTOFILL_PREF_NAMES_H_
7 7
8 namespace autofill { 8 namespace autofill {
9 namespace prefs { 9 namespace prefs {
10 10
11 // Alphabetical list of preference names specific to the Autofill 11 // Alphabetical list of preference names specific to the Autofill
12 // component. Keep alphabetized, and document each in the .cc file. 12 // component. Keep alphabetized, and document each in the .cc file.
13 13
14 extern const char kAutofillAcceptSaveCreditCardPromptState[];
14 extern const char kAutofillCreditCardSigninPromoImpressionCount[]; 15 extern const char kAutofillCreditCardSigninPromoImpressionCount[];
15 extern const char kAutofillEnabled[]; 16 extern const char kAutofillEnabled[];
16 extern const char kAutofillProfileUseDatesFixed[]; 17 extern const char kAutofillProfileUseDatesFixed[];
17 extern const char kAutofillLastVersionDeduped[]; 18 extern const char kAutofillLastVersionDeduped[];
18 extern const char kAutofillWalletImportEnabled[]; 19 extern const char kAutofillWalletImportEnabled[];
19 extern const char kAutofillWalletImportStorageCheckboxState[]; 20 extern const char kAutofillWalletImportStorageCheckboxState[];
20 21
22 // Possible values for previous user decision when we displayed a save credit
23 // card prompt.
24 enum PreviousSaveCreditCardPromptUserDecision {
25 PREVIOUS_SAVE_CREDIT_CARD_PROMPT_USER_DECISION_NONE,
26 PREVIOUS_SAVE_CREDIT_CARD_PROMPT_USER_DECISION_ACCEPTED,
27 PREVIOUS_SAVE_CREDIT_CARD_PROMPT_USER_DECISION_DENIED,
28 NUM_PREVIOUS_SAVE_CREDIT_CARD_PROMPT_USER_DECISIONS
29 };
30
21 } // namespace prefs 31 } // namespace prefs
22 } // namespace autofill 32 } // namespace autofill
23 33
24 #endif // COMPONENTS_AUTOFILL_CORE_COMMON_AUTOFILL_PREF_NAMES_H_ 34 #endif // COMPONENTS_AUTOFILL_CORE_COMMON_AUTOFILL_PREF_NAMES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698