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

Unified Diff: components/password_manager/core/browser/password_manager_client.h

Issue 2833193002: Trigger Password Protection ping on username/password field on focus (Closed)
Patch Set: nit Created 3 years, 8 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_client.h
diff --git a/components/password_manager/core/browser/password_manager_client.h b/components/password_manager/core/browser/password_manager_client.h
index 5e854e16db4e0bb924f7ad06d3771c7143bdd588..1b0ea8987cb06a4dc626e5b894e6001eeef0dc7f 100644
--- a/components/password_manager/core/browser/password_manager_client.h
+++ b/components/password_manager/core/browser/password_manager_client.h
@@ -202,6 +202,11 @@ class PasswordManagerClient {
// Return the PasswordProtectionService associated with this instance.
virtual safe_browsing::PasswordProtectionService*
GetPasswordProtectionService() const = 0;
+
+ // Checks the safe browsing reputation of the webpage where the focused
+ // username/password field is on.
+ virtual void CheckSafeBrowsingReputation(const GURL& form_action,
+ const GURL& frame_url) = 0;
#endif
private:

Powered by Google App Engine
This is Rietveld 408576698