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

Unified Diff: components/password_manager/content/browser/content_password_manager_driver.cc

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/content/browser/content_password_manager_driver.cc
diff --git a/components/password_manager/content/browser/content_password_manager_driver.cc b/components/password_manager/content/browser/content_password_manager_driver.cc
index 90b20e9f4e36024e25346ab85281be23e4e93800..0cc43eb03472ab30f752f22cfa46a03e65191e96 100644
--- a/components/password_manager/content/browser/content_password_manager_driver.cc
+++ b/components/password_manager/content/browser/content_password_manager_driver.cc
@@ -283,6 +283,14 @@ void ContentPasswordManagerDriver::SaveGenerationFieldDetectedByClassifier(
password_form, generation_field);
}
+void ContentPasswordManagerDriver::CheckSafeBrowsingReputation(
+ const GURL& form_action,
+ const GURL& frame_url) {
+#if defined(SAFE_BROWSING_DB_LOCAL)
+ client_->CheckSafeBrowsingReputation(form_action, frame_url);
+#endif
+}
+
void ContentPasswordManagerDriver::ShowPasswordSuggestions(
int key,
base::i18n::TextDirection text_direction,

Powered by Google App Engine
This is Rietveld 408576698