| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_PUBLIC_BROWSER_SECURITY_STYLE_EXPLANATIONS_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_SECURITY_STYLE_EXPLANATIONS_H_ |
| 7 |
| 8 #include <vector> |
| 9 |
| 10 #include "content/common/content_export.h" |
| 11 #include "content/public/browser/security_style_explanation.h" |
| 12 |
| 13 namespace content { |
| 14 |
| 15 // SecurityStyleExplanations contains human-readable explanations for |
| 16 // why a particular SecurityStyle was chosen. Each |
| 17 // SecurityStyleExplanation is a single security property of a page (for |
| 18 // example, an expired certificate or the presence of active mixed |
| 19 // content). A single site may have multiple different explanations of |
| 20 // "warning" and "broken" severity levels. |
| 21 struct SecurityStyleExplanations { |
| 22 CONTENT_EXPORT SecurityStyleExplanations(); |
| 23 CONTENT_EXPORT ~SecurityStyleExplanations(); |
| 24 |
| 25 std::vector<SecurityStyleExplanation> warning_explanations; |
| 26 std::vector<SecurityStyleExplanation> broken_explanations; |
| 27 }; |
| 28 |
| 29 } // namespace content |
| 30 |
| 31 #endif // CONTENT_PUBLIC_BROWSER_SECURITY_STYLE_EXPLANATION_H_ |
| OLD | NEW |