Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Unified Diff: net/cert/cert_verify_proc_ios.h

Issue 2225483002: [ios] Removed CertVerifierBlockAdapter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated includes Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698