Add ICU message format support
[chromium-blink-merge.git] / content / browser / signed_certificate_timestamp_store_impl.cc
blob9397ebdf5c2f44ab382f24c1a801fc8ed7f6184e
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "content/browser/signed_certificate_timestamp_store_impl.h"
7 #include "base/memory/singleton.h"
9 namespace content {
11 // static
12 SignedCertificateTimestampStore*
13 SignedCertificateTimestampStore::GetInstance() {
14 return SignedCertificateTimestampStoreImpl::GetInstance();
17 // static
18 SignedCertificateTimestampStoreImpl*
19 SignedCertificateTimestampStoreImpl::GetInstance() {
20 return Singleton<SignedCertificateTimestampStoreImpl>::get();
23 SignedCertificateTimestampStoreImpl::SignedCertificateTimestampStoreImpl() {}
25 SignedCertificateTimestampStoreImpl::~SignedCertificateTimestampStoreImpl() {}
27 int SignedCertificateTimestampStoreImpl::Store(
28 net::ct::SignedCertificateTimestamp* sct,
29 int process_id) {
30 return store_.Store(sct, process_id);
33 bool SignedCertificateTimestampStoreImpl::Retrieve(
34 int sct_id,
35 scoped_refptr<net::ct::SignedCertificateTimestamp>* sct) {
36 return store_.Retrieve(sct_id, sct);
39 } // namespace content