| Index: device/bluetooth/test/bluetooth_test.cc
|
| diff --git a/device/bluetooth/test/bluetooth_test.cc b/device/bluetooth/test/bluetooth_test.cc
|
| index 61f741265f1cb9f020a1d19c94c480fb7f2a8e34..1d4c0185ced8684c19e9a2335e7d6a8289df7b30 100644
|
| --- a/device/bluetooth/test/bluetooth_test.cc
|
| +++ b/device/bluetooth/test/bluetooth_test.cc
|
| @@ -11,6 +11,7 @@
|
| #include "base/memory/ptr_util.h"
|
| #include "base/run_loop.h"
|
| #include "device/bluetooth/bluetooth_adapter.h"
|
| +#include "device/bluetooth/bluetooth_types.h"
|
|
|
| namespace device {
|
|
|
| @@ -52,8 +53,8 @@ BluetoothTestBase::~BluetoothTestBase() {
|
|
|
| void BluetoothTestBase::StartLowEnergyDiscoverySession() {
|
| adapter_->StartDiscoverySessionWithFilter(
|
| - base::WrapUnique(new BluetoothDiscoveryFilter(
|
| - BluetoothDiscoveryFilter::Transport::TRANSPORT_LE)),
|
| + base::WrapUnique(
|
| + new BluetoothDiscoveryFilter(BluetoothTransport::TRANSPORT_LE)),
|
| GetDiscoverySessionCallback(Call::EXPECTED),
|
| GetErrorCallback(Call::NOT_EXPECTED));
|
| base::RunLoop().RunUntilIdle();
|
| @@ -61,8 +62,8 @@ void BluetoothTestBase::StartLowEnergyDiscoverySession() {
|
|
|
| void BluetoothTestBase::StartLowEnergyDiscoverySessionExpectedToFail() {
|
| adapter_->StartDiscoverySessionWithFilter(
|
| - base::WrapUnique(new BluetoothDiscoveryFilter(
|
| - BluetoothDiscoveryFilter::Transport::TRANSPORT_LE)),
|
| + base::WrapUnique(
|
| + new BluetoothDiscoveryFilter(BluetoothTransport::TRANSPORT_LE)),
|
| GetDiscoverySessionCallback(Call::NOT_EXPECTED),
|
| GetErrorCallback(Call::EXPECTED));
|
| base::RunLoop().RunUntilIdle();
|
|
|