| Index: components/ownership/owner_key_util_unittest.cc
|
| diff --git a/chrome/browser/chromeos/settings/owner_key_util_unittest.cc b/components/ownership/owner_key_util_unittest.cc
|
| similarity index 94%
|
| rename from chrome/browser/chromeos/settings/owner_key_util_unittest.cc
|
| rename to components/ownership/owner_key_util_unittest.cc
|
| index b93addf9bd08cf9a4012e503d7ff21c137c90062..03921303ec11e9562cc141ddb5041268b26ffcbc 100644
|
| --- a/chrome/browser/chromeos/settings/owner_key_util_unittest.cc
|
| +++ b/components/ownership/owner_key_util_unittest.cc
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "chrome/browser/chromeos/settings/owner_key_util.h"
|
| +#include "components/ownership/owner_key_util.h"
|
|
|
| #include <string>
|
| #include <vector>
|
| @@ -13,10 +13,9 @@
|
| #include "base/files/scoped_temp_dir.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "base/stl_util.h"
|
| -#include "crypto/rsa_private_key.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| -namespace chromeos {
|
| +namespace ownership {
|
|
|
| // 2048-bit RSA public key for testing.
|
| const uint8 kTestKeyData[] = {
|
| @@ -54,8 +53,8 @@ class OwnerKeyUtilTest : public testing::Test {
|
|
|
| virtual void SetUp() OVERRIDE {
|
| ASSERT_TRUE(tmpdir_.CreateUniqueTempDir());
|
| - key_file_ = tmpdir_.path().Append("key");
|
| - util_ = new OwnerKeyUtilImpl(key_file_);
|
| + key_file_ = tmpdir_.path().Append(FILE_PATH_LITERAL("key"));
|
| + util_ = new OwnerKeyUtil(key_file_);
|
| }
|
|
|
| base::ScopedTempDir tmpdir_;
|
| @@ -97,4 +96,4 @@ TEST_F(OwnerKeyUtilTest, ImportPublicKeyFailed) {
|
| EXPECT_FALSE(from_disk.size());
|
| }
|
|
|
| -} // namespace chromeos
|
| +} // namespace ownership
|
|
|