| Index: components/cryptauth/ble/bluetooth_low_energy_weave_client_connection_unittest.cc
|
| diff --git a/components/proximity_auth/ble/bluetooth_low_energy_weave_client_connection_unittest.cc b/components/cryptauth/ble/bluetooth_low_energy_weave_client_connection_unittest.cc
|
| similarity index 99%
|
| rename from components/proximity_auth/ble/bluetooth_low_energy_weave_client_connection_unittest.cc
|
| rename to components/cryptauth/ble/bluetooth_low_energy_weave_client_connection_unittest.cc
|
| index 26837fa0c852dcf0058251bdb88aafb00f5984b5..7c16e2f3b6af36b8cedb1dd6e7c2bebd24e80cc9 100644
|
| --- a/components/proximity_auth/ble/bluetooth_low_energy_weave_client_connection_unittest.cc
|
| +++ b/components/cryptauth/ble/bluetooth_low_energy_weave_client_connection_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 "components/proximity_auth/ble/bluetooth_low_energy_weave_client_connection.h"
|
| +#include "components/cryptauth/ble/bluetooth_low_energy_weave_client_connection.h"
|
|
|
| #include <stdint.h>
|
|
|
| @@ -37,7 +37,7 @@ using testing::Return;
|
| using testing::StrictMock;
|
| using testing::SaveArg;
|
|
|
| -namespace proximity_auth {
|
| +namespace cryptauth {
|
| namespace {
|
|
|
| class MockBluetoothThrottler : public BluetoothThrottler {
|
| @@ -71,10 +71,10 @@ class MockConnectionObserver : public ConnectionObserver {
|
| Connection::Status new_status) override {}
|
|
|
| void OnMessageReceived(const Connection& connection,
|
| - const WireMessage& message) override {}
|
| + const proximity_auth::WireMessage& message) override {}
|
|
|
| void OnSendCompleted(const Connection& conenction,
|
| - const WireMessage& message,
|
| + const proximity_auth::WireMessage& message,
|
| bool success) override {
|
| last_deserialized_message_ = message.payload();
|
| last_send_success_ = success;
|
| @@ -592,7 +592,7 @@ class ProximityAuthBluetoothLowEnergyWeaveClientConnectionTest
|
| std::unique_ptr<MockBluetoothThrottler> bluetooth_throttler_;
|
| scoped_refptr<base::TestSimpleTaskRunner> task_runner_;
|
| base::MessageLoop message_loop_;
|
| - WireMessage last_completed_wire_message_;
|
| + proximity_auth::WireMessage last_completed_wire_message_;
|
| bool last_wire_message_success_;
|
| std::shared_ptr<MockBluetoothLowEnergyWeavePacketGeneratorFactory>
|
| generator_factory_;
|
| @@ -1046,4 +1046,4 @@ TEST_F(ProximityAuthBluetoothLowEnergyWeaveClientConnectionTest,
|
|
|
| } // namespace weave
|
|
|
| -} // namespace proximity_auth
|
| +} // namespace cryptauth
|
|
|