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

Unified Diff: components/password_manager/core/browser/password_manager_metrics_util.cc

Issue 2859243004: Add metrics for PasswordForm submission types (Closed)
Patch Set: addressed reviewer comments 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 side-by-side diff with in-line comments
Download patch
Index: components/password_manager/core/browser/password_manager_metrics_util.cc
diff --git a/components/password_manager/core/browser/password_manager_metrics_util.cc b/components/password_manager/core/browser/password_manager_metrics_util.cc
index 642f0308edab59cabe41d70de42ec48af8314b99..ebe75e7ab9100d8c082f2e87421974843a2eb7c2 100644
--- a/components/password_manager/core/browser/password_manager_metrics_util.cc
+++ b/components/password_manager/core/browser/password_manager_metrics_util.cc
@@ -174,6 +174,14 @@ void LogShowedFormNotSecureWarningOnCurrentNavigation() {
"PasswordManager.ShowedFormNotSecureWarningOnCurrentNavigation", true);
}
+void LogPasswordSuccessfulSubmissionIndicatorEvent(
+ autofill::PasswordForm::SubmissionIndicatorEvent event) {
+ UMA_HISTOGRAM_ENUMERATION(
+ "PasswordManager.SuccessfulSubmissionIndicatorEvent", event,
+ autofill::PasswordForm::SubmissionIndicatorEvent::
+ SUBMISSION_INDICATOR_EVENT_COUNT);
+}
+
} // namespace metrics_util
} // namespace password_manager
« no previous file with comments | « components/password_manager/core/browser/password_manager_metrics_util.h ('k') | tools/metrics/histograms/enums.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698