Upstreaming browser/ui/uikit_ui_util from iOS.
[chromium-blink-merge.git] / content / public / browser / security_style_explanations.h
blob3cdd23b463238ac371fabc754fd39bfbac9210b8
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.
5 #ifndef CONTENT_PUBLIC_BROWSER_SECURITY_STYLE_EXPLANATIONS_H_
6 #define CONTENT_PUBLIC_BROWSER_SECURITY_STYLE_EXPLANATIONS_H_
8 #include <vector>
10 #include "content/common/content_export.h"
11 #include "content/public/browser/security_style_explanation.h"
13 namespace content {
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, a valid certificate, or the presence
19 // of active mixed content). A single site may have multiple different
20 // explanations of "secure", "warning", and "broken" severity levels.
21 struct SecurityStyleExplanations {
22 CONTENT_EXPORT SecurityStyleExplanations();
23 CONTENT_EXPORT ~SecurityStyleExplanations();
25 std::vector<SecurityStyleExplanation> secure_explanations;
26 std::vector<SecurityStyleExplanation> warning_explanations;
27 std::vector<SecurityStyleExplanation> broken_explanations;
30 } // namespace content
32 #endif // CONTENT_PUBLIC_BROWSER_SECURITY_STYLE_EXPLANATION_H_