| Index: device/bluetooth/test/bluetooth_test.cc
|
| diff --git a/device/bluetooth/test/bluetooth_test.cc b/device/bluetooth/test/bluetooth_test.cc
|
| index de47f463ad31415623f0027765b0a09e388a5ebb..da7c66d54e697fe9a1ff09a460d2ffead3ea4f18 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_common.h"
|
|
|
| namespace device {
|
|
|
| @@ -35,8 +36,7 @@ BluetoothTestBase::~BluetoothTestBase() {
|
|
|
| void BluetoothTestBase::StartLowEnergyDiscoverySession() {
|
| adapter_->StartDiscoverySessionWithFilter(
|
| - base::WrapUnique(new BluetoothDiscoveryFilter(
|
| - BluetoothDiscoveryFilter::Transport::TRANSPORT_LE)),
|
| + base::WrapUnique(new BluetoothDiscoveryFilter(BLUETOOTH_TRANSPORT_LE)),
|
| GetDiscoverySessionCallback(Call::EXPECTED),
|
| GetErrorCallback(Call::NOT_EXPECTED));
|
| base::RunLoop().RunUntilIdle();
|
| @@ -44,8 +44,7 @@ void BluetoothTestBase::StartLowEnergyDiscoverySession() {
|
|
|
| void BluetoothTestBase::StartLowEnergyDiscoverySessionExpectedToFail() {
|
| adapter_->StartDiscoverySessionWithFilter(
|
| - base::WrapUnique(new BluetoothDiscoveryFilter(
|
| - BluetoothDiscoveryFilter::Transport::TRANSPORT_LE)),
|
| + base::WrapUnique(new BluetoothDiscoveryFilter(BLUETOOTH_TRANSPORT_LE)),
|
| GetDiscoverySessionCallback(Call::NOT_EXPECTED),
|
| GetErrorCallback(Call::EXPECTED));
|
| base::RunLoop().RunUntilIdle();
|
|
|