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 NET_CERT_CERT_DATABASE_H_ | 5 #ifndef NET_CERT_CERT_DATABASE_H_ |
6 #define NET_CERT_CERT_DATABASE_H_ | 6 #define NET_CERT_CERT_DATABASE_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "net/base/net_export.h" | 11 #include "net/base/net_export.h" |
12 #include "net/cert/x509_certificate.h" | 12 #include "net/cert/x509_certificate.h" |
13 | 13 |
14 template <typename T> struct DefaultSingletonTraits; | 14 template <typename T> struct DefaultSingletonTraits; |
15 | 15 |
16 namespace base { | 16 namespace base { |
17 template <class ObserverType> class ObserverListThreadSafe; | 17 template <class ObserverType> |
| 18 class ObserverListThreadSafe; |
18 } | 19 } |
19 | 20 |
20 namespace net { | 21 namespace net { |
21 | 22 |
22 // This class provides cross-platform functions to verify and add user | 23 // This class provides cross-platform functions to verify and add user |
23 // certificates, and to observe changes to the underlying certificate stores. | 24 // certificates, and to observe changes to the underlying certificate stores. |
24 | 25 |
25 // TODO(gauravsh): This class could be augmented with methods | 26 // TODO(gauravsh): This class could be augmented with methods |
26 // for all operations that manipulate the underlying system | 27 // for all operations that manipulate the underlying system |
27 // certificate store. | 28 // certificate store. |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 friend class Notifier; | 117 friend class Notifier; |
117 scoped_ptr<Notifier> notifier_; | 118 scoped_ptr<Notifier> notifier_; |
118 #endif | 119 #endif |
119 | 120 |
120 DISALLOW_COPY_AND_ASSIGN(CertDatabase); | 121 DISALLOW_COPY_AND_ASSIGN(CertDatabase); |
121 }; | 122 }; |
122 | 123 |
123 } // namespace net | 124 } // namespace net |
124 | 125 |
125 #endif // NET_CERT_CERT_DATABASE_H_ | 126 #endif // NET_CERT_CERT_DATABASE_H_ |
OLD | NEW |