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

Unified Diff: chrome/browser/safe_browsing/chrome_password_protection_service.cc

Issue 2911293003: Reland: Cache protected password entry and password on focus ping separately. (Closed)
Patch Set: nit Created 3 years, 6 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: chrome/browser/safe_browsing/chrome_password_protection_service.cc
diff --git a/chrome/browser/safe_browsing/chrome_password_protection_service.cc b/chrome/browser/safe_browsing/chrome_password_protection_service.cc
index 63168e7a331f686676b5cdad6f2d84817c6821d8..86be5bd66eb0f6c42a22023edf85dc62bd63dc68 100644
--- a/chrome/browser/safe_browsing/chrome_password_protection_service.cc
+++ b/chrome/browser/safe_browsing/chrome_password_protection_service.cc
@@ -55,8 +55,15 @@ ChromePasswordProtectionService::~ChromePasswordProtectionService() {
if (content_settings()) {
CleanUpExpiredVerdicts();
UMA_HISTOGRAM_COUNTS_1000(
- "PasswordProtection.NumberOfCachedVerdictBeforeShutdown",
- GetStoredVerdictCount());
+ "PasswordProtection.NumberOfCachedVerdictBeforeShutdown."
+ "PasswordOnFocus",
+ GetStoredVerdictCount(
+ LoginReputationClientRequest::UNFAMILIAR_LOGIN_PAGE));
+ UMA_HISTOGRAM_COUNTS_1000(
+ "PasswordProtection.NumberOfCachedVerdictBeforeShutdown."
+ "ProtectedPasswordEntry",
+ GetStoredVerdictCount(
+ LoginReputationClientRequest::PASSWORD_REUSE_EVENT));
}
}

Powered by Google App Engine
This is Rietveld 408576698