| 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 1782f57c763c29f51504305c0b89c7a9bc374d50..61172b5eb83584d806730f1ed1d3c06608ac57a6 100644
|
| --- a/components/password_manager/core/browser/password_manager_metrics_util.cc
|
| +++ b/components/password_manager/core/browser/password_manager_metrics_util.cc
|
| @@ -155,6 +155,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
|
|
|