OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_PUBLIC_BROWSER_SECURITY_STYLE_EXPLANATIONS_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_SECURITY_STYLE_EXPLANATIONS_H_ |
6 #define CONTENT_PUBLIC_BROWSER_SECURITY_STYLE_EXPLANATIONS_H_ | 6 #define CONTENT_PUBLIC_BROWSER_SECURITY_STYLE_EXPLANATIONS_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 28 matching lines...) Expand all Loading... |
39 // that mixed content has on the overall SecurityStyle of the page; | 39 // that mixed content has on the overall SecurityStyle of the page; |
40 // for example, a |displayed_insecure_content_style| value of | 40 // for example, a |displayed_insecure_content_style| value of |
41 // SECURITY_STYLE_UNAUTHENTICATED indicates that the page's overall | 41 // SECURITY_STYLE_UNAUTHENTICATED indicates that the page's overall |
42 // SecurityStyle will be downgraded to UNAUTHENTICATED as a result of | 42 // SecurityStyle will be downgraded to UNAUTHENTICATED as a result of |
43 // displaying insecure content. | 43 // displaying insecure content. |
44 SecurityStyle ran_insecure_content_style; | 44 SecurityStyle ran_insecure_content_style; |
45 SecurityStyle displayed_insecure_content_style; | 45 SecurityStyle displayed_insecure_content_style; |
46 | 46 |
47 bool scheme_is_cryptographic; | 47 bool scheme_is_cryptographic; |
48 | 48 |
| 49 // True if PKP was bypassed due to a local trust anchor. |
| 50 bool pkp_bypassed; |
| 51 |
49 std::vector<SecurityStyleExplanation> secure_explanations; | 52 std::vector<SecurityStyleExplanation> secure_explanations; |
50 std::vector<SecurityStyleExplanation> unauthenticated_explanations; | 53 std::vector<SecurityStyleExplanation> unauthenticated_explanations; |
51 std::vector<SecurityStyleExplanation> broken_explanations; | 54 std::vector<SecurityStyleExplanation> broken_explanations; |
52 }; | 55 }; |
53 | 56 |
54 } // namespace content | 57 } // namespace content |
55 | 58 |
56 #endif // CONTENT_PUBLIC_BROWSER_SECURITY_STYLE_EXPLANATION_H_ | 59 #endif // CONTENT_PUBLIC_BROWSER_SECURITY_STYLE_EXPLANATION_H_ |
OLD | NEW |