| Index: components/security_state/content/content_utils.cc
|
| diff --git a/components/security_state/content/content_utils.cc b/components/security_state/content/content_utils.cc
|
| index 62b3a33d1a735f090ba261cb90fb55feb7eeb5dd..b8cfbf15eb4606f597419278015f239f2a121e86 100644
|
| --- a/components/security_state/content/content_utils.cc
|
| +++ b/components/security_state/content/content_utils.cc
|
| @@ -211,6 +211,12 @@ blink::WebSecurityStyle GetSecurityStyle(
|
| SecurityLevelToSecurityStyle(
|
| security_state::kDisplayedInsecureContentLevel);
|
|
|
| + if (security_info.malicious_content_status !=
|
| + security_state::MALICIOUS_CONTENT_STATUS_NONE) {
|
| + security_style_explanations->summary_override =
|
| + l10n_util::GetStringUTF8(IDS_SAFEBROWSING_WARNING);
|
| + }
|
| +
|
| // Check if the page is HTTP; if so, no more explanations are needed. Note
|
| // that SecurityStyleUnauthenticated does not necessarily mean that
|
| // the page is loaded over HTTP, because the security style merely
|
|
|