Index: chrome/browser/ssl/chrome_security_state_model_client.h |
diff --git a/chrome/browser/ssl/chrome_security_state_model_client.h b/chrome/browser/ssl/chrome_security_state_model_client.h |
index 4ea52792f4d8453016f2b4002a97514b3044206f..af628bcc7e765dcb6eb81d10fea1b65cb4f725da 100644 |
--- a/chrome/browser/ssl/chrome_security_state_model_client.h |
+++ b/chrome/browser/ssl/chrome_security_state_model_client.h |
@@ -11,8 +11,10 @@ |
#include "components/security_state/security_state_model.h" |
#include "components/security_state/security_state_model_client.h" |
#include "content/public/browser/web_contents_user_data.h" |
+#include "content/public/common/security_style.h" |
namespace content { |
+struct SecurityStyleExplanations; |
class WebContents; |
} // namespace content |
@@ -27,6 +29,13 @@ class ChromeSecurityStateModelClient |
const security_state::SecurityStateModel::SecurityInfo& GetSecurityInfo() |
const; |
+ // Returns the SecurityStyle that should be applied to the given |
+ // |web_contents|. Populates |security_style_explanations| to explain |
+ // why the returned SecurityStyle was chosen. |
+ content::SecurityStyle GetSecurityStyle( |
+ content::WebContents* web_contents, |
+ content::SecurityStyleExplanations* security_style_explanations); |
+ |
// SecurityStateModelClient: |
void GetVisibleSecurityState( |
security_state::SecurityStateModel::VisibleSecurityState* state) override; |