Commit 69846f8f authored by blundell's avatar blundell Committed by Commit bot

Populate VisibleSecurityState::displayed_mixed_content on iOS

On iOS, we know whether the page has displayed insecure content; this CL
propagates that information to SecurityStateModel::VisibleSecurityState.

As far as I can tell, the resulting value isn't used by anything on the iOS
port, so this CL will not result in any visible change at the current time.

Review URL: https://codereview.chromium.org/1578273002

Cr-Commit-Position: refs/heads/master@{#372051}
parent 674958fa
...@@ -98,4 +98,8 @@ void IOSChromeSecurityStateModelClient::GetVisibleSecurityState( ...@@ -98,4 +98,8 @@ void IOSChromeSecurityStateModelClient::GetVisibleSecurityState(
state->cert_status = ssl.cert_status; state->cert_status = ssl.cert_status;
state->connection_status = ssl.connection_status; state->connection_status = ssl.connection_status;
state->security_bits = ssl.security_bits; state->security_bits = ssl.security_bits;
state->displayed_mixed_content =
(ssl.content_status & web::SSLStatus::DISPLAYED_INSECURE_CONTENT)
? true
: false;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment