This source file includes following definitions.
- GetInstance
- GetInstance
- StoreCert
- RetrieveCert
#include "content/browser/cert_store_impl.h"
namespace content {
CertStore* CertStore::GetInstance() {
return CertStoreImpl::GetInstance();
}
CertStoreImpl* CertStoreImpl::GetInstance() {
return Singleton<CertStoreImpl>::get();
}
CertStoreImpl::CertStoreImpl() {}
CertStoreImpl::~CertStoreImpl() {}
int CertStoreImpl::StoreCert(net::X509Certificate* cert, int process_id) {
return store_.Store(cert, process_id);
}
bool CertStoreImpl::RetrieveCert(int cert_id,
scoped_refptr<net::X509Certificate>* cert) {
return store_.Retrieve(cert_id, cert);
}
}