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

Unified Diff: components/autofill/core/browser/autofill_client.h

Issue 2672623005: Record Autofill form events specially for nonsecure pages (Closed)
Patch Set: rebase Created 3 years, 10 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/core/browser/autofill_client.h
diff --git a/components/autofill/core/browser/autofill_client.h b/components/autofill/core/browser/autofill_client.h
index 041d62b3a869f06a38021dd5c8398373576fc344..eddb0bf1df4af7482d30473d00e785db792db935 100644
--- a/components/autofill/core/browser/autofill_client.h
+++ b/components/autofill/core/browser/autofill_client.h
@@ -183,6 +183,9 @@ class AutofillClient {
// If the context is secure.
virtual bool IsContextSecure(const GURL& form_origin) = 0;
+ // True if the main visible URL is secure.
+ virtual bool IsMainUrlSecure() = 0;
+
// Whether it is appropriate to show a signin promo for this user.
virtual bool ShouldShowSigninPromo() = 0;

Powered by Google App Engine
This is Rietveld 408576698