Index: net/base/cert_database_nss.cc |
=================================================================== |
--- net/base/cert_database_nss.cc (revision 80572) |
+++ net/base/cert_database_nss.cc (working copy) |
@@ -12,8 +12,8 @@ |
#include "base/logging.h" |
#include "base/memory/scoped_ptr.h" |
-#include "base/nss_util.h" |
-#include "base/nss_util_internal.h" |
+#include "crypto/nss_util.h" |
+#include "crypto/nss_util_internal.h" |
#include "net/base/crypto_module.h" |
#include "net/base/net_errors.h" |
#include "net/base/x509_certificate.h" |
@@ -27,7 +27,7 @@ |
namespace net { |
CertDatabase::CertDatabase() { |
- base::EnsureNSSInit(); |
+ crypto::EnsureNSSInit(); |
psm::EnsurePKCS12Init(); |
} |
@@ -78,7 +78,7 @@ |
nickname = username + "'s " + ca_name + " ID"; |
{ |
- base::AutoNSSWriteLock lock; |
+ crypto::AutoNSSWriteLock lock; |
slot = PK11_ImportCertForKey(cert, |
const_cast<char*>(nickname.c_str()), |
NULL); |
@@ -111,7 +111,7 @@ |
CryptoModule* CertDatabase::GetDefaultModule() const { |
CryptoModule* module = |
- CryptoModule::CreateFromHandle(base::GetDefaultNSSKeySlot()); |
+ CryptoModule::CreateFromHandle(crypto::GetDefaultNSSKeySlot()); |
// The module is already referenced when returned from GetDefaultNSSKeymodule, |
// so we need to deref it once. |
PK11_FreeSlot(module->os_module_handle()); |