| Index: ios/web/net/crw_ssl_status_updater.h
|
| diff --git a/ios/web/net/crw_ssl_status_updater.h b/ios/web/net/crw_ssl_status_updater.h
|
| index 48a1e77a454426cd8ba4780fb7078a710f6daf0d..9a37c7953ab2beafcb56c659e8de6add252a4ce3 100644
|
| --- a/ios/web/net/crw_ssl_status_updater.h
|
| +++ b/ios/web/net/crw_ssl_status_updater.h
|
| @@ -6,7 +6,9 @@
|
| #define IOS_WEB_NET_CRW_SSL_STATUS_UPDATER_H_
|
|
|
| #import <Foundation/Foundation.h>
|
| +#import <Security/Security.h>
|
|
|
| +#include "base/mac/scoped_cftyperef.h"
|
| #include "ios/web/public/security_style.h"
|
| #include "net/cert/cert_status_flags.h"
|
|
|
| @@ -38,7 +40,8 @@ class NavigationManager;
|
| // obtained from |host|, |chain| and |hasOnlySecureContent| flag.
|
| - (void)updateSSLStatusForNavigationItem:(web::NavigationItem*)navigationItem
|
| withCertHost:(NSString*)host
|
| - certChain:(NSArray*)chain
|
| + trust:
|
| + (base::ScopedCFTypeRef<SecTrustRef>)trust
|
| hasOnlySecureContent:(BOOL)hasOnlySecureContent;
|
|
|
| @end
|
| @@ -56,9 +59,9 @@ typedef void (^StatusQueryHandler)(web::SecurityStyle, net::CertStatus);
|
| // |completionHandler| is called asynchronously when web::SecurityStyle and
|
| // net::CertStatus are computed.
|
| - (void)SSLStatusUpdater:(CRWSSLStatusUpdater*)SSLStatusUpdater
|
| - querySSLStatusForCertChain:(NSArray*)certChain
|
| - host:(NSString*)host
|
| - completionHandler:(StatusQueryHandler)completionHandler;
|
| + querySSLStatusForTrust:(base::ScopedCFTypeRef<SecTrustRef>)trust
|
| + host:(NSString*)host
|
| + completionHandler:(StatusQueryHandler)completionHandler;
|
|
|
| @end
|
|
|
|
|