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

Side by Side Diff: content/public/browser/security_style_explanation.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
« no previous file with comments | « content/content_browser.gypi ('k') | content/public/browser/security_style_explanations.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_EXPLANATION_H_
6 #define CONTENT_PUBLIC_BROWSER_SECURITY_STYLE_EXPLANATION_H_
7
8 #include <string>
9
10 #include "content/common/content_export.h"
11
12 namespace content {
13
14 // A human-readable summary phrase and more detailed description of a
15 // security property that was used to compute the SecurityStyle of a
16 // resource. An example summary phrase would be "Expired Certificate",
17 // with a description along the lines of "This site's certificate chain
18 // contains errors (net::CERT_DATE_INVALID)".
19 struct SecurityStyleExplanation {
20 CONTENT_EXPORT SecurityStyleExplanation(){};
21 CONTENT_EXPORT SecurityStyleExplanation(const std::string& summary,
22 const std::string& description)
23 : summary(summary), description(description) {}
24 CONTENT_EXPORT ~SecurityStyleExplanation() {}
25
26 std::string summary;
27 std::string description;
28 };
29
30 } // namespace content
31
32 #endif // CONTENT_PUBLIC_BROWSER_SECURITY_STYLE_EXPLANATION_H_
OLDNEW
« no previous file with comments | « content/content_browser.gypi ('k') | content/public/browser/security_style_explanations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698