This source file includes following definitions.
- GetInstance
- GetInstance
- Retrieve
#include "content/browser/signed_certificate_timestamp_store_impl.h"
#include "base/memory/singleton.h"
namespace content {
SignedCertificateTimestampStore*
SignedCertificateTimestampStore::GetInstance() {
return SignedCertificateTimestampStoreImpl::GetInstance();
}
SignedCertificateTimestampStoreImpl*
SignedCertificateTimestampStoreImpl::GetInstance() {
return Singleton<SignedCertificateTimestampStoreImpl>::get();
}
SignedCertificateTimestampStoreImpl::SignedCertificateTimestampStoreImpl() {}
SignedCertificateTimestampStoreImpl::~SignedCertificateTimestampStoreImpl() {}
int SignedCertificateTimestampStoreImpl::Store(
net::ct::SignedCertificateTimestamp* sct,
int process_id) {
return store_.Store(sct, process_id);
}
bool SignedCertificateTimestampStoreImpl::Retrieve(
int sct_id,
scoped_refptr<net::ct::SignedCertificateTimestamp>* sct) {
return store_.Retrieve(sct_id, sct);
}
}