| 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_BASE_CERT_DATABASE_H_ | 5 #ifndef NET_CERT_CERT_DATABASE_H_ |
| 6 #define NET_BASE_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/base/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 template <class ObserverType> class ObserverListThreadSafe; | 15 template <class ObserverType> class ObserverListThreadSafe; |
| 16 | 16 |
| 17 namespace net { | 17 namespace net { |
| 18 | 18 |
| 19 // This class provides cross-platform functions to verify and add user | 19 // This class provides cross-platform functions to verify and add user |
| 20 // certificates, and to observe changes to the underlying certificate stores. | 20 // certificates, and to observe changes to the underlying certificate stores. |
| 21 | 21 |
| 22 // TODO(gauravsh): This class could be augmented with methods | 22 // TODO(gauravsh): This class could be augmented with methods |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 class Notifier; | 95 class Notifier; |
| 96 friend class Notifier; | 96 friend class Notifier; |
| 97 scoped_ptr<Notifier> notifier_; | 97 scoped_ptr<Notifier> notifier_; |
| 98 #endif | 98 #endif |
| 99 | 99 |
| 100 DISALLOW_COPY_AND_ASSIGN(CertDatabase); | 100 DISALLOW_COPY_AND_ASSIGN(CertDatabase); |
| 101 }; | 101 }; |
| 102 | 102 |
| 103 } // namespace net | 103 } // namespace net |
| 104 | 104 |
| 105 #endif // NET_BASE_CERT_DATABASE_H_ | 105 #endif // NET_CERT_CERT_DATABASE_H_ |
| OLD | NEW |