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

Unified Diff: net/base/x509_certificate_nss.cc

Issue 6805019: Move crypto files out of base, to a top level directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 8 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
Index: net/base/x509_certificate_nss.cc
===================================================================
--- net/base/x509_certificate_nss.cc (revision 80572)
+++ net/base/x509_certificate_nss.cc (working copy)
@@ -16,12 +16,12 @@
#include <sechash.h>
#include <sslerr.h>
-#include "base/crypto/rsa_private_key.h"
#include "base/logging.h"
#include "base/memory/scoped_ptr.h"
#include "base/pickle.h"
#include "base/time.h"
-#include "base/nss_util.h"
+#include "crypto/nss_util.h"
+#include "crypto/rsa_private_key.h"
#include "net/base/cert_status_flags.h"
#include "net/base/cert_verify_result.h"
#include "net/base/ev_root_ca_metadata.h"
@@ -631,7 +631,7 @@
// static
X509Certificate* X509Certificate::CreateSelfSigned(
- base::RSAPrivateKey* key,
+ crypto::RSAPrivateKey* key,
const std::string& subject,
uint32 serial_number,
base::TimeDelta valid_duration) {
@@ -885,7 +885,7 @@
if (length < 0)
return NULL;
- base::EnsureNSSInit();
+ crypto::EnsureNSSInit();
if (!NSS_IsInitialized())
return NULL;
@@ -907,7 +907,7 @@
if (length < 0)
return results;
- base::EnsureNSSInit();
+ crypto::EnsureNSSInit();
if (!NSS_IsInitialized())
return results;

Powered by Google App Engine
This is Rietveld 408576698