| Index: net/base/x509_certificate_nss.cc
|
| diff --git a/net/base/x509_certificate_nss.cc b/net/base/x509_certificate_nss.cc
|
| index 07bfeb3e0cac2e82131fbb0e738772c34c937d70..b3f3966a48d1278690c0e0b4626eac77efda32b0 100644
|
| --- a/net/base/x509_certificate_nss.cc
|
| +++ b/net/base/x509_certificate_nss.cc
|
| @@ -28,38 +28,6 @@ namespace net {
|
|
|
| namespace {
|
|
|
| -class ScopedCERTCertificate {
|
| - public:
|
| - explicit ScopedCERTCertificate(CERTCertificate* cert)
|
| - : cert_(cert) {}
|
| -
|
| - ~ScopedCERTCertificate() {
|
| - if (cert_)
|
| - CERT_DestroyCertificate(cert_);
|
| - }
|
| -
|
| - private:
|
| - CERTCertificate* cert_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(ScopedCERTCertificate);
|
| -};
|
| -
|
| -class ScopedCERTCertList {
|
| - public:
|
| - explicit ScopedCERTCertList(CERTCertList* cert_list)
|
| - : cert_list_(cert_list) {}
|
| -
|
| - ~ScopedCERTCertList() {
|
| - if (cert_list_)
|
| - CERT_DestroyCertList(cert_list_);
|
| - }
|
| -
|
| - private:
|
| - CERTCertList* cert_list_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(ScopedCERTCertList);
|
| -};
|
| -
|
| class ScopedCERTCertificatePolicies {
|
| public:
|
| explicit ScopedCERTCertificatePolicies(CERTCertificatePolicies* policies)
|
|
|