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

Unified Diff: chrome/browser/ui/autofill/chrome_autofill_client.cc

Issue 1659463003: [Autofill] Remove warning for CC autofill on secure pages with mixed passive content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « android_webview/native/aw_autofill_client.cc ('k') | components/autofill/core/browser/autofill_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/autofill/chrome_autofill_client.cc
diff --git a/chrome/browser/ui/autofill/chrome_autofill_client.cc b/chrome/browser/ui/autofill/chrome_autofill_client.cc
index 437886c1e99dd6b25284a8484f99f5032937d3fa..db90ae21e1c75f5a7eb183737cab7497789b2e3e 100644
--- a/chrome/browser/ui/autofill/chrome_autofill_client.cc
+++ b/chrome/browser/ui/autofill/chrome_autofill_client.cc
@@ -384,9 +384,10 @@ bool ChromeAutofillClient::IsContextSecure(const GURL& form_origin) {
ssl_status = navigation_entry->GetSSL();
// Note: If changing the implementation below, also change
// AwAutofillClient::IsContextSecure. See crbug.com/505388
- return ssl_status.security_style ==
- content::SECURITY_STYLE_AUTHENTICATED &&
- ssl_status.content_status == content::SSLStatus::NORMAL_CONTENT;
+ return ssl_status.security_style == content::SECURITY_STYLE_AUTHENTICATED &&
+ (ssl_status.content_status == content::SSLStatus::NORMAL_CONTENT ||
+ ssl_status.content_status ==
+ content::SSLStatus::DISPLAYED_INSECURE_CONTENT);
Evan Stade 2016/02/01 20:40:36 nit: perhaps !(ssl_status.content_status & conten
Mathieu 2016/02/01 20:49:56 Done.
}
} // namespace autofill
« no previous file with comments | « android_webview/native/aw_autofill_client.cc ('k') | components/autofill/core/browser/autofill_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698