| Index: content/common/security_style_util.h
|
| diff --git a/content/common/security_style_util.h b/content/common/security_style_util.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..81aa1645a32067bbefa9bd2177eb5e87332aee7e
|
| --- /dev/null
|
| +++ b/content/common/security_style_util.h
|
| @@ -0,0 +1,24 @@
|
| +// Copyright 2016 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_COMMON_SECURITY_STYLE_UTIL_H_
|
| +#define CONTENT_COMMON_SECURITY_STYLE_UTIL_H_
|
| +
|
| +#include "content/public/common/security_style.h"
|
| +#include "net/cert/cert_status_flags.h"
|
| +
|
| +class GURL;
|
| +
|
| +namespace content {
|
| +
|
| +// Returns a security style describing an individual resource. Does
|
| +// not take into account any of the page- or host-level state such as
|
| +// mixed content or whether the host has run insecure content.
|
| +SecurityStyle GetSecurityStyleForResource(const GURL& url,
|
| + bool has_certificate,
|
| + net::CertStatus cert_status);
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_COMMON_SECURITY_STYLE_UTIL_H_
|
|
|