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

Unified Diff: components/autofill/content/common/autofill_driver.mojom

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/autofill/content/common/autofill_driver.mojom
diff --git a/components/autofill/content/common/autofill_driver.mojom b/components/autofill/content/common/autofill_driver.mojom
index 1a8d5c2bb2f28d8ff20f567e545f0e8560cfe1de..01e878a246e7f32d6a70f6fa9780a260b9f9fe60 100644
--- a/components/autofill/content/common/autofill_driver.mojom
+++ b/components/autofill/content/common/autofill_driver.mojom
@@ -9,6 +9,7 @@ import "mojo/common/string16.mojom";
import "mojo/common/text_direction.mojom";
import "mojo/common/time.mojom";
import "ui/gfx/geometry/mojo/geometry.mojom";
+import "url/mojo/url.mojom";
// There is one instance of this interface per render frame host in the browser
// process.
@@ -107,6 +108,11 @@ interface PasswordManagerDriver {
// forms where password generation should be available.
SaveGenerationFieldDetectedByClassifier(
PasswordForm password_form, mojo.common.mojom.String16 generation_field);
+
+ // Checks the safe browsing reputation of the website where the focused
+ // username/password field is on.
+ CheckSafeBrowsingReputation(
+ url.mojom.Url form_action, url.mojom.Url frame_url);
};
// There is one instance of this interface per web contents in the browser
« no previous file with comments | « components/autofill/content/common/BUILD.gn ('k') | components/autofill/content/renderer/password_autofill_agent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698