| 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..5f47465b9a14e34571a00d77a6e48c0f9c0f5e19 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,14 @@ class ChromeSecurityStateModelClient
|
| const security_state::SecurityStateModel::SecurityInfo& GetSecurityInfo()
|
| const;
|
|
|
| + // Returns the SecurityStyle that should be applied to a WebContents
|
| + // with the given |security_info|. Populates
|
| + // |security_style_explanations| to explain why the returned
|
| + // SecurityStyle was chosen.
|
| + static content::SecurityStyle GetSecurityStyle(
|
| + const security_state::SecurityStateModel::SecurityInfo& security_info,
|
| + content::SecurityStyleExplanations* security_style_explanations);
|
| +
|
| // SecurityStateModelClient:
|
| void GetVisibleSecurityState(
|
| security_state::SecurityStateModel::VisibleSecurityState* state) override;
|
|
|