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

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

Issue 2678113002: Record UMA histogram when Form-Not-Secure warning is shown (Closed)
Patch Set: Created 3 years, 10 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.h
diff --git a/components/password_manager/core/browser/password_manager_metrics_util.h b/components/password_manager/core/browser/password_manager_metrics_util.h
index d9be1b8bd1529415e90e1aec90a2aa2018c96525..35fda1748d950348ed76ab992556e5ae8c52466e 100644
--- a/components/password_manager/core/browser/password_manager_metrics_util.h
+++ b/components/password_manager/core/browser/password_manager_metrics_util.h
@@ -246,6 +246,10 @@ void LogPasswordReuse(int password_length,
// autofill dropdown to show more information about the warning.
void LogShowedHttpNotSecureExplanation();
+// Log that the Form-Not-Secure warning was shown. Should be called at most once
+// per main-frame navigation.
+void LogShowedFormNotSecureWarningOnCurrentNavigation();
+
} // namespace metrics_util
} // namespace password_manager

Powered by Google App Engine
This is Rietveld 408576698