OLD | NEW |
---|---|
(Empty) | |
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. | |
4 | |
5 #include "content/browser/signed_certificate_timestamp_store_impl.h" | |
6 | |
7 namespace content { | |
8 | |
9 // static | |
10 SignedCertificateTimestampStore* | |
11 SignedCertificateTimestampStore::GetInstance() { | |
wtc
2013/11/19 21:41:44
The style guide recommends NOT indenting this line
wtc
2013/11/21 03:13:46
Please fix this, unless clang format recommends fo
alcutter
2013/11/21 10:48:19
Sorry, I think I fixed this and then somehow undid
| |
12 return SignedCertificateTimestampStoreImpl::GetInstance(); | |
13 } | |
14 | |
15 // static | |
16 SignedCertificateTimestampStoreImpl* | |
17 SignedCertificateTimestampStoreImpl::GetInstance() { | |
18 return Singleton<SignedCertificateTimestampStoreImpl>::get(); | |
19 } | |
20 | |
21 SignedCertificateTimestampStoreImpl::SignedCertificateTimestampStoreImpl() {} | |
22 | |
23 SignedCertificateTimestampStoreImpl::~SignedCertificateTimestampStoreImpl() {} | |
24 | |
25 int SignedCertificateTimestampStoreImpl::Store( | |
26 net::ct::SignedCertificateTimestamp* sct, | |
27 int process_id) { | |
28 return store_.Store(sct, process_id); | |
29 } | |
30 | |
31 bool SignedCertificateTimestampStoreImpl::Retrieve( | |
32 int sct_id, | |
33 scoped_refptr<net::ct::SignedCertificateTimestamp>* sct) { | |
34 return store_.Retrieve(sct_id, sct); | |
35 } | |
36 | |
37 } // namespace content | |
OLD | NEW |