OLD | NEW |
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 | 10 |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 NUM_CARD_UPLOAD_DECISION_METRICS, | 83 NUM_CARD_UPLOAD_DECISION_METRICS, |
84 }; | 84 }; |
85 | 85 |
86 enum DeveloperEngagementMetric { | 86 enum DeveloperEngagementMetric { |
87 // Parsed a form that is potentially autofillable. | 87 // Parsed a form that is potentially autofillable. |
88 FILLABLE_FORM_PARSED = 0, | 88 FILLABLE_FORM_PARSED = 0, |
89 // Parsed a form that is potentially autofillable and contains at least one | 89 // Parsed a form that is potentially autofillable and contains at least one |
90 // web developer-specified field type hint, a la | 90 // web developer-specified field type hint, a la |
91 // http://is.gd/whatwg_autocomplete | 91 // http://is.gd/whatwg_autocomplete |
92 FILLABLE_FORM_CONTAINS_TYPE_HINTS, | 92 FILLABLE_FORM_CONTAINS_TYPE_HINTS, |
| 93 // Parsed a form that is potentially autofillable and contains at least one |
| 94 // UPI Virtual Payment Address hint (upi-vpa) |
| 95 FORM_CONTAINS_UPI_VPA_HINT, |
93 NUM_DEVELOPER_ENGAGEMENT_METRICS, | 96 NUM_DEVELOPER_ENGAGEMENT_METRICS, |
94 }; | 97 }; |
95 | 98 |
96 // The action the user took to dismiss a dialog. | 99 // The action the user took to dismiss a dialog. |
97 enum DialogDismissalAction { | 100 enum DialogDismissalAction { |
98 DIALOG_ACCEPTED = 0, // The user accepted, i.e. submitted, the dialog. | 101 DIALOG_ACCEPTED = 0, // The user accepted, i.e. submitted, the dialog. |
99 DIALOG_CANCELED, // The user canceled out of the dialog. | 102 DIALOG_CANCELED, // The user canceled out of the dialog. |
100 }; | 103 }; |
101 | 104 |
102 // The state of the Autofill dialog when it was dismissed. | 105 // The state of the Autofill dialog when it was dismissed. |
(...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
760 FormFieldData last_polled_field_; | 763 FormFieldData last_polled_field_; |
761 }; | 764 }; |
762 | 765 |
763 private: | 766 private: |
764 DISALLOW_IMPLICIT_CONSTRUCTORS(AutofillMetrics); | 767 DISALLOW_IMPLICIT_CONSTRUCTORS(AutofillMetrics); |
765 }; | 768 }; |
766 | 769 |
767 } // namespace autofill | 770 } // namespace autofill |
768 | 771 |
769 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_METRICS_H_ | 772 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_METRICS_H_ |
OLD | NEW |