| Index: components/cryptauth/ble/bluetooth_low_energy_weave_client_connection.cc
|
| diff --git a/components/proximity_auth/ble/bluetooth_low_energy_weave_client_connection.cc b/components/cryptauth/ble/bluetooth_low_energy_weave_client_connection.cc
|
| similarity index 98%
|
| rename from components/proximity_auth/ble/bluetooth_low_energy_weave_client_connection.cc
|
| rename to components/cryptauth/ble/bluetooth_low_energy_weave_client_connection.cc
|
| index 6f96df20bb0c530913476d1437a1bc580c25274c..529a1b259ddfe392024b0ded68e7cb2eb060cbe6 100644
|
| --- a/components/proximity_auth/ble/bluetooth_low_energy_weave_client_connection.cc
|
| +++ b/components/cryptauth/ble/bluetooth_low_energy_weave_client_connection.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 <utility>
|
|
|
| @@ -10,10 +10,10 @@
|
| #include "base/location.h"
|
| #include "base/task_runner.h"
|
| #include "base/threading/thread_task_runner_handle.h"
|
| -#include "components/proximity_auth/bluetooth_throttler.h"
|
| -#include "components/proximity_auth/connection_finder.h"
|
| +#include "components/cryptauth/bluetooth_throttler.h"
|
| +#include "components/cryptauth/connection_finder.h"
|
| +#include "components/cryptauth/wire_message.h"
|
| #include "components/proximity_auth/logging/logging.h"
|
| -#include "components/proximity_auth/wire_message.h"
|
| #include "device/bluetooth/bluetooth_gatt_connection.h"
|
|
|
| using device::BluetoothAdapter;
|
| @@ -24,7 +24,7 @@ using device::BluetoothRemoteGattCharacteristic;
|
| using device::BluetoothGattNotifySession;
|
| using device::BluetoothUUID;
|
|
|
| -namespace proximity_auth {
|
| +namespace cryptauth {
|
| namespace weave {
|
| namespace {
|
|
|
| @@ -43,7 +43,7 @@ BluetoothLowEnergyWeaveClientConnection::
|
| const cryptauth::RemoteDevice& device,
|
| scoped_refptr<device::BluetoothAdapter> adapter,
|
| const BluetoothUUID remote_service_uuid,
|
| - BluetoothThrottler* bluetooth_throttler,
|
| + cryptauth::BluetoothThrottler* bluetooth_throttler,
|
| int max_number_of_write_attempts)
|
| : Connection(device),
|
| adapter_(adapter),
|
| @@ -162,7 +162,7 @@ void BluetoothLowEnergyWeaveClientConnection::SetSubStatus(
|
| SubStatus new_sub_status) {
|
| sub_status_ = new_sub_status;
|
|
|
| - // Sets the status of parent class proximity_auth::Connection accordingly.
|
| + // Sets the status of parent class cryptauth::Connection accordingly.
|
| if (new_sub_status == SubStatus::CONNECTED) {
|
| SetStatus(Status::CONNECTED);
|
| } else if (new_sub_status == SubStatus::DISCONNECTED) {
|
| @@ -636,4 +636,4 @@ BluetoothLowEnergyWeaveClientConnection::WriteRequest::~WriteRequest() {}
|
|
|
| } // namespace weave
|
|
|
| -} // namespace proximity_auth
|
| +} // namespace cryptauth
|
|
|