| Index: components/proximity_auth/device_to_device_secure_context_unittest.cc
|
| diff --git a/components/proximity_auth/device_to_device_secure_context_unittest.cc b/components/proximity_auth/device_to_device_secure_context_unittest.cc
|
| index ffa24b25a1fbd766ed19a0cfac8f018b6256f36c..9707405aeaed4940f1fc6e92e54502e087084e21 100644
|
| --- a/components/proximity_auth/device_to_device_secure_context_unittest.cc
|
| +++ b/components/proximity_auth/device_to_device_secure_context_unittest.cc
|
| @@ -8,9 +8,9 @@
|
|
|
| #include "base/bind.h"
|
| #include "base/memory/ptr_util.h"
|
| -#include "components/proximity_auth/cryptauth/fake_secure_message_delegate.h"
|
| -#include "components/proximity_auth/cryptauth/proto/cryptauth_api.pb.h"
|
| -#include "components/proximity_auth/cryptauth/proto/securemessage.pb.h"
|
| +#include "components/cryptauth/fake_secure_message_delegate.h"
|
| +#include "components/cryptauth/proto/cryptauth_api.pb.h"
|
| +#include "components/cryptauth/proto/securemessage.pb.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| namespace proximity_auth {
|
| @@ -32,10 +32,11 @@ void SaveResult(std::string* result_out, const std::string& result) {
|
| class ProximityAuthDeviceToDeviceSecureContextTest : public testing::Test {
|
| protected:
|
| ProximityAuthDeviceToDeviceSecureContextTest()
|
| - : secure_context_(base::MakeUnique<FakeSecureMessageDelegate>(),
|
| - kSymmetricKey,
|
| - kResponderAuthMessage,
|
| - kProtocolVersion) {}
|
| + : secure_context_(
|
| + base::MakeUnique<cryptauth::FakeSecureMessageDelegate>(),
|
| + kSymmetricKey,
|
| + kResponderAuthMessage,
|
| + kProtocolVersion) {}
|
|
|
| DeviceToDeviceSecureContext secure_context_;
|
| };
|
| @@ -74,7 +75,7 @@ TEST_F(ProximityAuthDeviceToDeviceSecureContextTest, DecodeInvalidMessage) {
|
| TEST_F(ProximityAuthDeviceToDeviceSecureContextTest, EncodeAndDecode) {
|
| // Initialize second secure channel with the same parameters as the first.
|
| DeviceToDeviceSecureContext secure_context2(
|
| - base::MakeUnique<FakeSecureMessageDelegate>(), kSymmetricKey,
|
| + base::MakeUnique<cryptauth::FakeSecureMessageDelegate>(), kSymmetricKey,
|
| kResponderAuthMessage, kProtocolVersion);
|
| std::string message = "encrypt this message";
|
|
|
| @@ -95,7 +96,7 @@ TEST_F(ProximityAuthDeviceToDeviceSecureContextTest,
|
| DecodeInvalidSequenceNumber) {
|
| // Initialize second secure channel with the same parameters as the first.
|
| DeviceToDeviceSecureContext secure_context2(
|
| - base::MakeUnique<FakeSecureMessageDelegate>(), kSymmetricKey,
|
| + base::MakeUnique<cryptauth::FakeSecureMessageDelegate>(), kSymmetricKey,
|
| kResponderAuthMessage, kProtocolVersion);
|
|
|
| // Send a few messages over the first secure context.
|
|
|