| 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_NSS_CERT_DATABASE_H_ | 5 #ifndef NET_CERT_NSS_CERT_DATABASE_H_ |
| 6 #define NET_BASE_NSS_CERT_DATABASE_H_ | 6 #define NET_CERT_NSS_CERT_DATABASE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/string16.h" | 13 #include "base/string16.h" |
| 14 #include "net/base/cert_type.h" | |
| 15 #include "net/base/net_export.h" | 14 #include "net/base/net_export.h" |
| 16 #include "net/base/x509_certificate.h" | 15 #include "net/cert/cert_type.h" |
| 16 #include "net/cert/x509_certificate.h" |
| 17 | 17 |
| 18 template <typename T> struct DefaultSingletonTraits; | 18 template <typename T> struct DefaultSingletonTraits; |
| 19 template <class ObserverType> class ObserverListThreadSafe; | 19 template <class ObserverType> class ObserverListThreadSafe; |
| 20 | 20 |
| 21 namespace net { | 21 namespace net { |
| 22 | 22 |
| 23 class CryptoModule; | 23 class CryptoModule; |
| 24 typedef std::vector<scoped_refptr<CryptoModule> > CryptoModuleList; | 24 typedef std::vector<scoped_refptr<CryptoModule> > CryptoModuleList; |
| 25 | 25 |
| 26 // Provides functions to manipulate the NSS certificate stores. | 26 // Provides functions to manipulate the NSS certificate stores. |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 void NotifyObserversOfCertRemoved(const X509Certificate* cert); | 197 void NotifyObserversOfCertRemoved(const X509Certificate* cert); |
| 198 void NotifyObserversOfCertTrustChanged(const X509Certificate* cert); | 198 void NotifyObserversOfCertTrustChanged(const X509Certificate* cert); |
| 199 | 199 |
| 200 const scoped_refptr<ObserverListThreadSafe<Observer> > observer_list_; | 200 const scoped_refptr<ObserverListThreadSafe<Observer> > observer_list_; |
| 201 | 201 |
| 202 DISALLOW_COPY_AND_ASSIGN(NSSCertDatabase); | 202 DISALLOW_COPY_AND_ASSIGN(NSSCertDatabase); |
| 203 }; | 203 }; |
| 204 | 204 |
| 205 } // namespace net | 205 } // namespace net |
| 206 | 206 |
| 207 #endif // NET_BASE_NSS_CERT_DATABASE_H_ | 207 #endif // NET_CERT_NSS_CERT_DATABASE_H_ |
| OLD | NEW |