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

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

Issue 2773433002: Log observations of explicit UPI-VPA autocomplete hints. (Closed)
Patch Set: fix a nit 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
« no previous file with comments | « no previous file | components/autofill/core/browser/autofill_metrics_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 10
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « no previous file | components/autofill/core/browser/autofill_metrics_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698