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

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

Issue 2607413003: Add security feature to ProvisionalSavePassword (Closed)
Patch Set: Addressed nit. Created 3 years, 11 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 7b55d8d12f7144d3e30d68fef8803ddaf3a74c7b..8bc566bc844a64ad1b5c61ad5a8ebbff77c82662 100644
--- a/components/password_manager/core/browser/password_manager_metrics_util.cc
+++ b/components/password_manager/core/browser/password_manager_metrics_util.cc
@@ -104,6 +104,12 @@ void LogSyncSigninPromoUserAction(SyncSignInUserAction action) {
CHROME_SIGNIN_ACTION_COUNT);
}
+void LogShouldBlockPasswordForSameOriginButDifferentScheme(bool should_block) {
+ UMA_HISTOGRAM_BOOLEAN(
+ "PasswordManager.ShouldBlockPasswordForSameOriginButDifferentScheme",
+ should_block);
+}
+
void LogAccountChooserUsability(AccountChooserUsabilityMetric usability) {
UMA_HISTOGRAM_ENUMERATION("PasswordManager.AccountChooserDialogUsability",
usability, ACCOUNT_CHOOSER_USABILITY_COUNT);

Powered by Google App Engine
This is Rietveld 408576698