Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Side by Side Diff: content/public/browser/security_style_explanations.h

Issue 1181293003: Expand SecurityStyleChanged interfaces to include explanations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add CONTENT_EXPORT Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW
« no previous file with comments | « content/public/browser/security_style_explanation.h ('k') | content/public/browser/security_style_explanations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698