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

Side by Side Diff: components/autofill/core/browser/autofill_metrics.h

Issue 2866993002: Logs boolean UMA to track if user modified profile before credit card (Closed)
Patch Set: Logs boolean UMA to track if user modified profile before credit card form submission. 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_BROWSER_AUTOFILL_METRICS_H_ 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_METRICS_H_
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_METRICS_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_METRICS_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after
747 747
748 // This should be called each time a new profile is launched. 748 // This should be called each time a new profile is launched.
749 static void LogStoredServerCreditCardCounts(size_t num_masked_cards, 749 static void LogStoredServerCreditCardCounts(size_t num_masked_cards,
750 size_t num_unmasked_cards); 750 size_t num_unmasked_cards);
751 751
752 // Log the number of profiles available when an autofillable form is 752 // Log the number of profiles available when an autofillable form is
753 // submitted. 753 // submitted.
754 static void LogNumberOfProfilesAtAutofillableFormSubmission( 754 static void LogNumberOfProfilesAtAutofillableFormSubmission(
755 size_t num_profiles); 755 size_t num_profiles);
756 756
757 // Log whether user modified an address profile shortly before submitting
758 // credit card form.
759 static void LogHasModifiedProfileOnCreditCardFormSubmission(
760 bool has_modified_profile);
761
757 // Log the number of Autofill suggestions presented to the user when filling a 762 // Log the number of Autofill suggestions presented to the user when filling a
758 // form. 763 // form.
759 static void LogAddressSuggestionsCount(size_t num_suggestions); 764 static void LogAddressSuggestionsCount(size_t num_suggestions);
760 765
761 // Log the index of the selected Autofill suggestion in the popup. 766 // Log the index of the selected Autofill suggestion in the popup.
762 static void LogAutofillSuggestionAcceptedIndex(int index); 767 static void LogAutofillSuggestionAcceptedIndex(int index);
763 768
764 // Log the index of the selected Autocomplete suggestion in the popup. 769 // Log the index of the selected Autocomplete suggestion in the popup.
765 static void LogAutocompleteSuggestionAcceptedIndex(int index); 770 static void LogAutocompleteSuggestionAcceptedIndex(int index);
766 771
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
891 896
892 private: 897 private:
893 static const int kNumCardUploadDecisionMetrics = 11; 898 static const int kNumCardUploadDecisionMetrics = 11;
894 899
895 DISALLOW_IMPLICIT_CONSTRUCTORS(AutofillMetrics); 900 DISALLOW_IMPLICIT_CONSTRUCTORS(AutofillMetrics);
896 }; 901 };
897 902
898 } // namespace autofill 903 } // namespace autofill
899 904
900 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_METRICS_H_ 905 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_METRICS_H_
OLDNEW
« no previous file with comments | « components/autofill/core/browser/autofill_manager_unittest.cc ('k') | components/autofill/core/browser/autofill_metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698