| Index: content/public/browser/security_style_explanation.h
|
| diff --git a/content/public/browser/security_style_explanation.h b/content/public/browser/security_style_explanation.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..5a0d8660b991427eee4f1f53667aa51efab92210
|
| --- /dev/null
|
| +++ b/content/public/browser/security_style_explanation.h
|
| @@ -0,0 +1,32 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CONTENT_PUBLIC_BROWSER_SECURITY_STYLE_EXPLANATION_H_
|
| +#define CONTENT_PUBLIC_BROWSER_SECURITY_STYLE_EXPLANATION_H_
|
| +
|
| +#include <string>
|
| +
|
| +#include "content/common/content_export.h"
|
| +
|
| +namespace content {
|
| +
|
| +// A human-readable summary phrase and more detailed description of a
|
| +// security property that was used to compute the SecurityStyle of a
|
| +// resource. An example summary phrase would be "Expired Certificate",
|
| +// with a description along the lines of "This site's certificate chain
|
| +// contains errors (net::CERT_DATE_INVALID)".
|
| +struct SecurityStyleExplanation {
|
| + CONTENT_EXPORT SecurityStyleExplanation(){};
|
| + CONTENT_EXPORT SecurityStyleExplanation(const std::string& summary,
|
| + const std::string& description)
|
| + : summary(summary), description(description) {}
|
| + CONTENT_EXPORT ~SecurityStyleExplanation() {}
|
| +
|
| + std::string summary;
|
| + std::string description;
|
| +};
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_PUBLIC_BROWSER_SECURITY_STYLE_EXPLANATION_H_
|
|
|