Index: components/safe_browsing/password_protection/password_protection_service.cc |
diff --git a/components/safe_browsing/password_protection/password_protection_service.cc b/components/safe_browsing/password_protection/password_protection_service.cc |
index ee3af7cda3a1918f2f4612517faa78cbaa57bd5f..8d560cbbc04bb6465320a0cbdfcfafc35974d680 100644 |
--- a/components/safe_browsing/password_protection/password_protection_service.cc |
+++ b/components/safe_browsing/password_protection/password_protection_service.cc |
@@ -70,6 +70,11 @@ const base::Feature kPasswordFieldOnFocusPinging{ |
const base::Feature kProtectedPasswordEntryPinging{ |
"ProtectedPasswordEntryPinging", base::FEATURE_DISABLED_BY_DEFAULT}; |
+const char kPasswordOnFocusRequestOutcomeHistogramName[] = |
+ "PasswordProtection.RequestOutcome.PasswordFieldOnFocus"; |
+const char kPasswordEntryRequestOutcomeHistogramName[] = |
+ "PasswordProtection.RequestOutcome.ProtectedPasswordEntry"; |
+ |
PasswordProtectionService::PasswordProtectionService( |
const scoped_refptr<SafeBrowsingDatabaseManager>& database_manager, |
scoped_refptr<net::URLRequestContextGetter> request_context_getter, |
@@ -216,7 +221,7 @@ void PasswordProtectionService::StartRequest( |
requests_.insert(std::move(request)); |
} |
-void PasswordProtectionService::MaybeStartLowReputationRequest( |
+void PasswordProtectionService::MaybeStartPasswordFieldOnFocusRequest( |
const GURL& main_frame_url, |
const GURL& password_form_action, |
const GURL& password_form_frame_url) { |