Chromium Code Reviews| Index: net/cert/cert_verify_proc_ios.h |
| diff --git a/net/cert/cert_verify_proc_ios.h b/net/cert/cert_verify_proc_ios.h |
| index e965a486e037aa8e1ed10e0cc8b5c1f7797c5572..ac5e3885e8559858f6fc61a80976ed8b045b0b11 100644 |
| --- a/net/cert/cert_verify_proc_ios.h |
| +++ b/net/cert/cert_verify_proc_ios.h |
| @@ -7,6 +7,8 @@ |
| #include "net/cert/cert_verify_proc.h" |
| +#include <Security/Security.h> |
|
Ryan Sleevi
2016/08/12 00:16:23
nit: Can you not forward declare this? Or include
Eugene But (OOO till 7-30)
2016/08/12 16:16:40
Including subframework would be a Style Guide viol
|
| + |
| namespace net { |
| // Performs certificate path construction and validation using iOS's |
| @@ -15,6 +17,10 @@ class CertVerifyProcIOS : public CertVerifyProc { |
| public: |
| CertVerifyProcIOS(); |
| + // Returns error CertStatus from the given |trust| object. Returns |
| + // CERT_STATUS_INVALID if the trust is null. |
| + static CertStatus GetCertFailureStatusFromTrust(SecTrustRef trust); |
| + |
| bool SupportsAdditionalTrustAnchors() const override; |
| bool SupportsOCSPStapling() const override; |