Index: content/public/browser/security_style_explanations.h |
diff --git a/content/public/browser/security_style_explanations.h b/content/public/browser/security_style_explanations.h |
index b97aa6016bb95f2556380a4b7eb5ce2f12ea06b2..3033c2a10a718495275b8db71a4fda8f8af3c9df 100644 |
--- a/content/public/browser/security_style_explanations.h |
+++ b/content/public/browser/security_style_explanations.h |
@@ -27,6 +27,8 @@ namespace content { |
// levels. |
struct SecurityStyleExplanations { |
CONTENT_EXPORT SecurityStyleExplanations(); |
+ CONTENT_EXPORT SecurityStyleExplanations( |
+ const SecurityStyleExplanations& other); |
CONTENT_EXPORT ~SecurityStyleExplanations(); |
// True if the page was loaded over HTTPS and ran mixed (HTTP) content |
@@ -63,6 +65,10 @@ struct SecurityStyleExplanations { |
// True if PKP was bypassed due to a local trust anchor. |
bool pkp_bypassed; |
+ // User-visible summary of the security style, set only when |
+ // the style cannot be determined from HTTPS status alone. |
+ std::string summary; |
+ |
// Explanations corresponding to each security level. The embedder should |
// display explanations in the order: broken, unauthenticated, secure, info. |
std::vector<SecurityStyleExplanation> secure_explanations; |