OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_PUBLIC_BROWSER_CERT_STORE_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_CERT_STORE_H_ |
6 #define CONTENT_PUBLIC_BROWSER_CERT_STORE_H_ | 6 #define CONTENT_PUBLIC_BROWSER_CERT_STORE_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
10 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
11 | 10 |
12 namespace net { | 11 namespace net { |
13 class X509Certificate; | 12 class X509Certificate; |
14 } | 13 } |
15 | 14 |
16 namespace content { | 15 namespace content { |
17 | 16 |
(...skipping 25 matching lines...) Expand all Loading... |
43 virtual bool RetrieveCert(int cert_id, | 42 virtual bool RetrieveCert(int cert_id, |
44 scoped_refptr<net::X509Certificate>* cert) = 0; | 43 scoped_refptr<net::X509Certificate>* cert) = 0; |
45 | 44 |
46 protected: | 45 protected: |
47 virtual ~CertStore() {} | 46 virtual ~CertStore() {} |
48 }; | 47 }; |
49 | 48 |
50 } // namespace content | 49 } // namespace content |
51 | 50 |
52 #endif // CONTENT_PUBLIC_BROWSER_CERT_STORE_H_ | 51 #endif // CONTENT_PUBLIC_BROWSER_CERT_STORE_H_ |
OLD | NEW |