| 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 b6996542aaff7f60fa88782b2843f7f5813db135..dae4940a2bf0e7f8b26231f41540ba8e54e50186 100644
|
| --- a/components/password_manager/core/browser/password_manager_metrics_util.cc
|
| +++ b/components/password_manager/core/browser/password_manager_metrics_util.cc
|
| @@ -161,6 +161,14 @@ void LogShowedHttpNotSecureExplanation() {
|
| "PasswordManager_ShowedHttpNotSecureExplanation"));
|
| }
|
|
|
| +void LogShowedFormNotSecureWarningOnCurrentNavigation() {
|
| + // Always record 'true': this is a counter of the number of times the warning
|
| + // is shown, to gather metrics such as the number of times the warning is
|
| + // shown per million page loads.
|
| + UMA_HISTOGRAM_BOOLEAN(
|
| + "PasswordManager.ShowedFormNotSecureWarningOnCurrentNavigation", true);
|
| +}
|
| +
|
| } // namespace metrics_util
|
|
|
| } // namespace password_manager
|
|
|