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

Unified Diff: ios/chrome/browser/ssl/ios_chrome_security_state_model_client.cc

Issue 1578273002: Populate VisibleSecurityState::displayed_mixed_content on iOS (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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ssl/ios_chrome_security_state_model_client.cc
diff --git a/ios/chrome/browser/ssl/ios_chrome_security_state_model_client.cc b/ios/chrome/browser/ssl/ios_chrome_security_state_model_client.cc
index 47d85bf30868a3b2eb113d713028a6e20765e7d4..d005c40c5961d86912d1803b4db1d164514b46e5 100644
--- a/ios/chrome/browser/ssl/ios_chrome_security_state_model_client.cc
+++ b/ios/chrome/browser/ssl/ios_chrome_security_state_model_client.cc
@@ -98,4 +98,8 @@ void IOSChromeSecurityStateModelClient::GetVisibleSecurityState(
state->cert_status = ssl.cert_status;
state->connection_status = ssl.connection_status;
state->security_bits = ssl.security_bits;
+ state->displayed_mixed_content =
Eugene But (OOO till 7-30) 2016/01/12 17:11:30 FWIW the following code seems to be cleaner: stat
blundell 2016/01/13 10:40:46 This is copied over from //chrome, going to leave
+ (ssl.content_status & web::SSLStatus::DISPLAYED_INSECURE_CONTENT)
+ ? true
+ : false;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698