Popular sites on the NTP: Try to keep the ordering constant
[chromium-blink-merge.git] / content / public / browser / security_style_explanation.h
blob5a0d8660b991427eee4f1f53667aa51efab92210
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_EXPLANATION_H_
6 #define CONTENT_PUBLIC_BROWSER_SECURITY_STYLE_EXPLANATION_H_
8 #include <string>
10 #include "content/common/content_export.h"
12 namespace content {
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() {}
26 std::string summary;
27 std::string description;
30 } // namespace content
32 #endif // CONTENT_PUBLIC_BROWSER_SECURITY_STYLE_EXPLANATION_H_