| 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..0246a64c5bea7402c8b625373ea4aa3f7f198703
|
| --- /dev/null
|
| +++ b/content/public/browser/security_style_explanation.h
|
| @@ -0,0 +1,29 @@
|
| +// 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>
|
| +
|
| +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 {
|
| + SecurityStyleExplanation();
|
| + SecurityStyleExplanation(const std::string& summary,
|
| + const std::string& description);
|
| + ~SecurityStyleExplanation();
|
| +
|
| + std::string summary;
|
| + std::string description;
|
| +};
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_PUBLIC_BROWSER_SECURITY_STYLE_EXPLANATION_H_
|
|
|