blink::SecurityStyle WebContents::GetSecurityStyle(
    content::WebContents* web_contents,
    content::SecurityStyleExplanations* security_style_explanations) {
  auto state = security_state::GetVisibleSecurityState(web_contents);
  auto security_level = security_state::GetSecurityLevel(*state, false);
  return security_state::GetSecurityStyle(security_level, *state,
                                          security_style_explanations);
}
blink::SecurityStyle WebContents::GetSecurityStyle(
    content::WebContents* web_contents,
    content::SecurityStyleExplanations* security_style_explanations) {
  auto state = security_state::GetVisibleSecurityState(web_contents);
  auto security_level = security_state::GetSecurityLevel(*state, false);
  return security_state::GetSecurityStyle(security_level, *state,
                                          security_style_explanations);
}