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

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

Issue 2478043002: HTTP Bad: Add warning message to autofill dropdown for http sites (Closed)
Patch Set: add test to AutofillManagerTest Created 4 years, 1 month 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 61b10177c41b4ae696941aeabfcb2a049cbec601..c28f9f12c79cffced532a7f62357d06ae69740ed 100644
--- a/components/autofill/core/browser/autofill_client.h
+++ b/components/autofill/core/browser/autofill_client.h
@@ -185,6 +185,10 @@ class AutofillClient {
// If the context is secure.
virtual bool IsContextSecure(const GURL& form_origin) = 0;
+ // Returns false for http sites in which case autofill popup will show "not
+ // secure" warning message.
+ virtual bool IsTopLevelURLSecure() = 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