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

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

Issue 1136473006: Don't autofill credit cards on non-secure pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 6d2edcab3db9f361f4383d63bb7b4556b46d6cb3..9f46957f1e4b748c7b99dc2943bd9a6f60458f51 100644
--- a/components/autofill/core/browser/autofill_client.h
+++ b/components/autofill/core/browser/autofill_client.h
@@ -173,6 +173,9 @@ class AutofillClient {
// Opens |url| with the supplied |disposition|.
virtual void LinkClicked(const GURL& url,
WindowOpenDisposition disposition) = 0;
+
+ // If the context is secure (secure https, no mixed content)
+ virtual bool IsContextSecure() = 0;
};
} // namespace autofill

Powered by Google App Engine
This is Rietveld 408576698