Chromium Code Reviews| Index: net/cert/x509_certificate_mac.cc |
| diff --git a/net/cert/x509_certificate_mac.cc b/net/cert/x509_certificate_mac.cc |
| index 1d874c4b023b29541eb0dc5883e34c5d78c00335..2924ba292e28355d9804d06db1e58675f565cf41 100644 |
| --- a/net/cert/x509_certificate_mac.cc |
| +++ b/net/cert/x509_certificate_mac.cc |
| @@ -8,7 +8,6 @@ |
| #include <CoreServices/CoreServices.h> |
| #include <Security/Security.h> |
|
wtc
2014/02/26 17:57:01
Please delete this blank line.
|
| -#include <cert.h> |
| #include <vector> |
| @@ -24,7 +23,6 @@ |
| #include "base/synchronization/lock.h" |
| #include "crypto/cssm_init.h" |
| #include "crypto/mac_security_services_lock.h" |
| -#include "crypto/nss_util.h" |
| #include "net/cert/x509_util_mac.h" |
| using base::ScopedCFTypeRef; |
| @@ -206,18 +204,6 @@ struct CSSMOIDString { |
| typedef std::vector<CSSMOIDString> CSSMOIDStringVector; |
| -class ScopedCertName { |
| - public: |
| - explicit ScopedCertName(CERTName* name) : name_(name) { } |
| - ~ScopedCertName() { |
| - if (name_) CERT_DestroyName(name_); |
| - } |
| - operator CERTName*() { return name_; } |
| - |
| - private: |
| - CERTName* name_; |
| -}; |
| - |
| class ScopedEncodedCertResults { |
| public: |
| explicit ScopedEncodedCertResults(CSSM_TP_RESULT_SET* results) |