This source file includes following definitions.
- GetCertVerifier
- GetTransportSecurityState
#include "content/browser/renderer_host/pepper/ssl_context_helper.h"
#include "net/cert/cert_verifier.h"
#include "net/http/transport_security_state.h"
namespace content {
SSLContextHelper::SSLContextHelper() {
}
SSLContextHelper::~SSLContextHelper() {
}
net::CertVerifier* SSLContextHelper::GetCertVerifier() {
if (!cert_verifier_)
cert_verifier_.reset(net::CertVerifier::CreateDefault());
return cert_verifier_.get();
}
net::TransportSecurityState* SSLContextHelper::GetTransportSecurityState() {
if (!transport_security_state_)
transport_security_state_.reset(new net::TransportSecurityState());
return transport_security_state_.get();
}
}