Chromium Code Reviews| Index: net/cert/cert_database.h |
| diff --git a/net/cert/cert_database.h b/net/cert/cert_database.h |
| index feadf4c1d0856d8795cc9f0690fd84000414e090..3ba98455138429ec64a016388a307f4a62118ce7 100644 |
| --- a/net/cert/cert_database.h |
| +++ b/net/cert/cert_database.h |
| @@ -16,6 +16,8 @@ template <class ObserverType> class ObserverListThreadSafe; |
| namespace net { |
| +class NSSCertDatabase; |
| + |
| // This class provides cross-platform functions to verify and add user |
| // certificates, and to observe changes to the underlying certificate stores. |
| @@ -85,6 +87,12 @@ class NET_EXPORT CertDatabase { |
| void OnAndroidKeyChainChanged(); |
| #endif |
| +#if defined(USE_NSS) |
| + // Observe events from the |source| and forward them to observers of this |
| + // CertDatabase. |
| + void ObserveNSSCertDatabase(NSSCertDatabase* source); |
|
Ryan Sleevi
2013/12/18 21:28:32
Per our discussion, this is temporary, right?
If
mattm
2013/12/19 22:35:00
Hm, even after making CertDatabase a per-profile o
Ryan Sleevi
2013/12/20 01:35:19
Both CertDatabase and NSSCertDatabase are objects
|
| +#endif |
| + |
| private: |
| friend struct DefaultSingletonTraits<CertDatabase>; |