| Index: net/cert/nss_cert_database.h
|
| diff --git a/net/cert/nss_cert_database.h b/net/cert/nss_cert_database.h
|
| index 00e72f3f19b196703c65a49694b1891ab54bb611..506349b8de76c6df3adae9777d1138ddecc15397 100644
|
| --- a/net/cert/nss_cert_database.h
|
| +++ b/net/cert/nss_cert_database.h
|
| @@ -42,18 +42,10 @@ class NET_EXPORT NSSCertDatabase {
|
| public:
|
| virtual ~Observer() {}
|
|
|
| - // Will be called when a new certificate is added.
|
| - // Called with |cert| == NULL after importing a list of certificates
|
| - // in ImportFromPKCS12().
|
| - virtual void OnCertAdded(const X509Certificate* cert) {}
|
| -
|
| - // Will be called when a certificate is removed.
|
| - virtual void OnCertRemoved(const X509Certificate* cert) {}
|
| -
|
| // Will be called when a CA certificate is changed.
|
| // Called with |cert| == NULL after importing a list of certificates
|
| // in ImportCACerts().
|
| - virtual void OnCACertChanged(const X509Certificate* cert) {}
|
| + virtual void OnCertDBChanged(const X509Certificate* cert) {}
|
|
|
| protected:
|
| Observer() {}
|
| @@ -275,9 +267,7 @@ class NET_EXPORT NSSCertDatabase {
|
|
|
| protected:
|
| // Broadcasts notifications to all registered observers.
|
| - void NotifyObserversOfCertAdded(const X509Certificate* cert);
|
| - void NotifyObserversOfCertRemoved(const X509Certificate* cert);
|
| - void NotifyObserversOfCACertChanged(const X509Certificate* cert);
|
| + void NotifyObserversCertDBChanged(const X509Certificate* cert);
|
|
|
| private:
|
| // Registers |observer| to receive notifications of certificate changes. The
|
|
|