| Index: components/client_update_protocol/ecdsa_unittest.cc
|
| diff --git a/components/update_client/client_update_protocol_ecdsa_unittest.cc b/components/client_update_protocol/ecdsa_unittest.cc
|
| similarity index 97%
|
| rename from components/update_client/client_update_protocol_ecdsa_unittest.cc
|
| rename to components/client_update_protocol/ecdsa_unittest.cc
|
| index eab1f35336b5511438eb01e0e22740512b6e692c..bb4e058173d9584c8cbf17c52d9399860d491483 100644
|
| --- a/components/update_client/client_update_protocol_ecdsa_unittest.cc
|
| +++ b/components/client_update_protocol/ecdsa_unittest.cc
|
| @@ -11,12 +11,12 @@
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/strings/string_piece.h"
|
| #include "base/strings/stringprintf.h"
|
| -#include "components/update_client/client_update_protocol_ecdsa.h"
|
| +#include "components/client_update_protocol/ecdsa.h"
|
| #include "crypto/random.h"
|
| #include "crypto/secure_util.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| -namespace update_client {
|
| +namespace client_update_protocol {
|
|
|
| namespace {
|
|
|
| @@ -41,7 +41,7 @@ std::string GetPublicKeyForTesting() {
|
| class CupEcdsaTest : public testing::Test {
|
| protected:
|
| void SetUp() override {
|
| - cup_ = ClientUpdateProtocolEcdsa::Create(8, GetPublicKeyForTesting());
|
| + cup_ = Ecdsa::Create(8, GetPublicKeyForTesting());
|
| ASSERT_TRUE(cup_.get());
|
| }
|
|
|
| @@ -50,10 +50,10 @@ class CupEcdsaTest : public testing::Test {
|
| base::StringPrintf("%d:%u", cup_->pub_key_version_, nonce);
|
| }
|
|
|
| - ClientUpdateProtocolEcdsa& CUP() { return *cup_.get(); }
|
| + Ecdsa& CUP() { return *cup_.get(); }
|
|
|
| private:
|
| - scoped_ptr<ClientUpdateProtocolEcdsa> cup_;
|
| + scoped_ptr<Ecdsa> cup_;
|
| };
|
|
|
| TEST_F(CupEcdsaTest, SignRequest) {
|
|
|