| OLD | NEW |
| (Empty) |
| 1 // Copyright 2016 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_COMMON_SECURITY_STYLE_UTIL_H_ | |
| 6 #define CONTENT_COMMON_SECURITY_STYLE_UTIL_H_ | |
| 7 | |
| 8 #include "content/public/common/security_style.h" | |
| 9 #include "net/cert/cert_status_flags.h" | |
| 10 | |
| 11 class GURL; | |
| 12 | |
| 13 namespace content { | |
| 14 | |
| 15 // Returns a security style describing an individual resource. Does | |
| 16 // not take into account any of the page- or host-level state such as | |
| 17 // mixed content or whether the host has run insecure content. | |
| 18 SecurityStyle GetSecurityStyleForResource(const GURL& url, | |
| 19 bool has_certificate, | |
| 20 net::CertStatus cert_status); | |
| 21 | |
| 22 } // namespace content | |
| 23 | |
| 24 #endif // CONTENT_COMMON_SECURITY_STYLE_UTIL_H_ | |
| OLD | NEW |