diff options
author | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-21 00:55:30 +0000 |
---|---|---|
committer | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-21 00:55:30 +0000 |
commit | eb3ab679167ba321d8821d6565b17c13b532ffe2 (patch) | |
tree | e481e58675c97452fd3ebce69224929f37aff836 /net/base/x509_certificate_nss.cc | |
parent | 4e27e40f5506493ab9a0bf120ae333848a777800 (diff) | |
download | chromium_src-eb3ab679167ba321d8821d6565b17c13b532ffe2.zip chromium_src-eb3ab679167ba321d8821d6565b17c13b532ffe2.tar.gz chromium_src-eb3ab679167ba321d8821d6565b17c13b532ffe2.tar.bz2 |
x509_certificate_nss: remove unused ScopedCERTCertificate and ScopedCERTCertList
BUG=none
TEST=builds
Review URL: http://codereview.chromium.org/3134022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56954 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/x509_certificate_nss.cc')
-rw-r--r-- | net/base/x509_certificate_nss.cc | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/net/base/x509_certificate_nss.cc b/net/base/x509_certificate_nss.cc index 07bfeb3..b3f3966 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) |