| Index: net/cert/nss_cert_database.h
|
| diff --git a/net/cert/nss_cert_database.h b/net/cert/nss_cert_database.h
|
| index b8f128ccd677505c61f0fc18a5063ba5b99e93d1..50eb037a2068aa7e1f33d3302d2bca2e56e5456f 100644
|
| --- a/net/cert/nss_cert_database.h
|
| +++ b/net/cert/nss_cert_database.h
|
| @@ -263,6 +263,12 @@ class NET_EXPORT NSSCertDatabase {
|
| // in tests (see SetSlowTaskRunnerForTest).
|
| scoped_refptr<base::TaskRunner> GetSlowTaskRunner() const;
|
|
|
| + protected:
|
| + // Broadcasts notifications to all registered observers.
|
| + void NotifyObserversOfCertAdded(const X509Certificate* cert);
|
| + void NotifyObserversOfCertRemoved(const X509Certificate* cert);
|
| + void NotifyObserversOfCACertChanged(const X509Certificate* cert);
|
| +
|
| private:
|
| // Registers |observer| to receive notifications of certificate changes. The
|
| // thread on which this is called is the thread on which |observer| will be
|
| @@ -282,11 +288,6 @@ class NET_EXPORT NSSCertDatabase {
|
| const DeleteCertCallback& callback,
|
| bool success);
|
|
|
| - // Broadcasts notifications to all registered observers.
|
| - void NotifyObserversOfCertAdded(const X509Certificate* cert);
|
| - void NotifyObserversOfCertRemoved(const X509Certificate* cert);
|
| - void NotifyObserversOfCACertChanged(const X509Certificate* cert);
|
| -
|
| // Certificate removal implementation used by |DeleteCertAndKey*|. Static so
|
| // it may safely be used on the worker thread.
|
| static bool DeleteCertAndKeyImpl(scoped_refptr<X509Certificate> cert);
|
|
|