| Index: components/proximity_auth/remote_device_life_cycle_impl.cc
|
| diff --git a/components/proximity_auth/remote_device_life_cycle_impl.cc b/components/proximity_auth/remote_device_life_cycle_impl.cc
|
| index 429377275521c2d809f01dc46b79725fdb31d0cd..99fdb02628960cc32a048089b77ccf1b2810049e 100644
|
| --- a/components/proximity_auth/remote_device_life_cycle_impl.cc
|
| +++ b/components/proximity_auth/remote_device_life_cycle_impl.cc
|
| @@ -11,12 +11,12 @@
|
| #include "base/memory/ptr_util.h"
|
| #include "base/threading/thread_task_runner_handle.h"
|
| #include "base/time/default_tick_clock.h"
|
| +#include "components/cryptauth/bluetooth_throttler_impl.h"
|
| #include "components/cryptauth/secure_message_delegate.h"
|
| #include "components/proximity_auth/ble/bluetooth_low_energy_connection.h"
|
| #include "components/proximity_auth/ble/bluetooth_low_energy_connection_finder.h"
|
| #include "components/proximity_auth/bluetooth_connection.h"
|
| #include "components/proximity_auth/bluetooth_connection_finder.h"
|
| -#include "components/proximity_auth/bluetooth_throttler_impl.h"
|
| #include "components/proximity_auth/device_to_device_authenticator.h"
|
| #include "components/proximity_auth/logging/logging.h"
|
| #include "components/proximity_auth/messenger_impl.h"
|
| @@ -47,7 +47,7 @@ RemoteDeviceLifeCycleImpl::RemoteDeviceLifeCycleImpl(
|
| proximity_auth_client_(proximity_auth_client),
|
| state_(RemoteDeviceLifeCycle::State::STOPPED),
|
| observers_(base::ObserverList<Observer>::NOTIFY_EXISTING_ONLY),
|
| - bluetooth_throttler_(new BluetoothThrottlerImpl(
|
| + bluetooth_throttler_(new cryptauth::BluetoothThrottlerImpl(
|
| base::WrapUnique(new base::DefaultTickClock()))),
|
| weak_ptr_factory_(this) {}
|
|
|
| @@ -120,7 +120,7 @@ void RemoteDeviceLifeCycleImpl::FindConnection() {
|
| }
|
|
|
| void RemoteDeviceLifeCycleImpl::OnConnectionFound(
|
| - std::unique_ptr<Connection> connection) {
|
| + std::unique_ptr<cryptauth::Connection> connection) {
|
| DCHECK(state_ == RemoteDeviceLifeCycle::State::FINDING_CONNECTION);
|
| connection_ = std::move(connection);
|
| authenticator_ = CreateAuthenticator();
|
|
|