Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Unified Diff: net/cert/x509_certificate_mac.cc

Issue 179363006: Remove unused NSS dependencies in mac certificate handling code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed empty line Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/cert/cert_verify_proc_mac.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..a7f862469b16325137d7d2b02f75633300c68594 100644
--- a/net/cert/x509_certificate_mac.cc
+++ b/net/cert/x509_certificate_mac.cc
@@ -8,8 +8,6 @@
#include <CoreServices/CoreServices.h>
#include <Security/Security.h>
-#include <cert.h>
-
#include <vector>
#include "base/lazy_instance.h"
@@ -24,7 +22,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 +203,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)
« no previous file with comments | « net/cert/cert_verify_proc_mac.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698