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_NSS_CERT_DATABASE_H_ | 5 #ifndef NET_CERT_NSS_CERT_DATABASE_H_ |
6 #define NET_CERT_NSS_CERT_DATABASE_H_ | 6 #define NET_CERT_NSS_CERT_DATABASE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/callback_forward.h" | 13 #include "base/callback_forward.h" |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 16 #include "base/memory/scoped_ptr.h" |
16 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
17 #include "base/strings/string16.h" | 18 #include "base/strings/string16.h" |
18 #include "crypto/scoped_nss_types.h" | 19 #include "crypto/scoped_nss_types.h" |
19 #include "net/base/net_errors.h" | 20 #include "net/base/net_errors.h" |
20 #include "net/base/net_export.h" | 21 #include "net/base/net_export.h" |
21 #include "net/cert/cert_type.h" | 22 #include "net/cert/cert_type.h" |
22 #include "net/cert/x509_certificate.h" | 23 #include "net/cert/x509_certificate.h" |
23 | 24 |
24 namespace base { | 25 namespace base { |
25 template <class ObserverType> | 26 template <class ObserverType> |
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 const scoped_refptr<base::ObserverListThreadSafe<Observer>> observer_list_; | 314 const scoped_refptr<base::ObserverListThreadSafe<Observer>> observer_list_; |
314 | 315 |
315 base::WeakPtrFactory<NSSCertDatabase> weak_factory_; | 316 base::WeakPtrFactory<NSSCertDatabase> weak_factory_; |
316 | 317 |
317 DISALLOW_COPY_AND_ASSIGN(NSSCertDatabase); | 318 DISALLOW_COPY_AND_ASSIGN(NSSCertDatabase); |
318 }; | 319 }; |
319 | 320 |
320 } // namespace net | 321 } // namespace net |
321 | 322 |
322 #endif // NET_CERT_NSS_CERT_DATABASE_H_ | 323 #endif // NET_CERT_NSS_CERT_DATABASE_H_ |
OLD | NEW |