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