diff options
Diffstat (limited to 'chrome/browser/chromeos/login/owner_key_utils_unittest.cc')
-rw-r--r-- | chrome/browser/chromeos/login/owner_key_utils_unittest.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/chrome/browser/chromeos/login/owner_key_utils_unittest.cc b/chrome/browser/chromeos/login/owner_key_utils_unittest.cc index 6033455..1b5ef26 100644 --- a/chrome/browser/chromeos/login/owner_key_utils_unittest.cc +++ b/chrome/browser/chromeos/login/owner_key_utils_unittest.cc @@ -7,13 +7,13 @@ #include <string> #include <vector> -#include "base/crypto/rsa_private_key.h" #include "base/file_path.h" #include "base/file_util.h" #include "base/memory/ref_counted.h" #include "base/memory/scoped_temp_dir.h" -#include "base/nss_util.h" -#include "base/nss_util_internal.h" +#include "crypto/nss_util.h" +#include "crypto/nss_util_internal.h" +#include "crypto/rsa_private_key.h" #include "testing/gmock/include/gmock/gmock.h" #include "testing/gtest/include/gtest/gtest.h" @@ -25,7 +25,7 @@ class OwnerKeyUtilsTest : public ::testing::Test { virtual ~OwnerKeyUtilsTest() {} virtual void SetUp() { - base::OpenPersistentNSSDB(); + crypto::OpenPersistentNSSDB(); } // Key generation parameters. @@ -39,9 +39,9 @@ class OwnerKeyUtilsTest : public ::testing::Test { const uint16 OwnerKeyUtilsTest::kKeySizeInBits = 2048; TEST_F(OwnerKeyUtilsTest, ExportImportPublicKey) { - scoped_ptr<base::RSAPrivateKey> pair( - base::RSAPrivateKey::CreateSensitive(kKeySizeInBits)); - ASSERT_NE(pair.get(), reinterpret_cast<base::RSAPrivateKey*>(NULL)); + scoped_ptr<crypto::RSAPrivateKey> pair( + crypto::RSAPrivateKey::CreateSensitive(kKeySizeInBits)); + ASSERT_NE(pair.get(), reinterpret_cast<crypto::RSAPrivateKey*>(NULL)); // Export public key to file. ScopedTempDir tmpdir; |