| Index: extensions/browser/api/bluetooth/bluetooth_private_api.cc
|
| diff --git a/extensions/browser/api/bluetooth/bluetooth_private_api.cc b/extensions/browser/api/bluetooth/bluetooth_private_api.cc
|
| index c6296d9d384c78e8b4bde10fda4d94c2c321a7f4..fa3ceb8713eb2bcd35686115a27f286da1cd281c 100644
|
| --- a/extensions/browser/api/bluetooth/bluetooth_private_api.cc
|
| +++ b/extensions/browser/api/bluetooth/bluetooth_private_api.cc
|
| @@ -14,6 +14,7 @@
|
| #include "device/bluetooth/bluetooth_adapter.h"
|
| #include "device/bluetooth/bluetooth_adapter_factory.h"
|
| #include "device/bluetooth/bluetooth_discovery_session.h"
|
| +#include "device/bluetooth/bluetooth_types.h"
|
| #include "extensions/browser/api/bluetooth/bluetooth_api.h"
|
| #include "extensions/browser/api/bluetooth/bluetooth_api_pairing_delegate.h"
|
| #include "extensions/browser/api/bluetooth/bluetooth_event_router.h"
|
| @@ -414,14 +415,13 @@ bool BluetoothPrivateSetDiscoveryFilterFunction::DoWork(
|
|
|
| switch (df_param.transport) {
|
| case bt_private::TransportType::TRANSPORT_TYPE_LE:
|
| - transport = device::BluetoothDiscoveryFilter::Transport::TRANSPORT_LE;
|
| + transport = device::BluetoothTransport::TRANSPORT_LE;
|
| break;
|
| case bt_private::TransportType::TRANSPORT_TYPE_BREDR:
|
| - transport =
|
| - device::BluetoothDiscoveryFilter::Transport::TRANSPORT_CLASSIC;
|
| + transport = device::BluetoothTransport::TRANSPORT_CLASSIC;
|
| break;
|
| default: // TRANSPORT_TYPE_NONE is included here
|
| - transport = device::BluetoothDiscoveryFilter::Transport::TRANSPORT_DUAL;
|
| + transport = device::BluetoothTransport::TRANSPORT_DUAL;
|
| break;
|
| }
|
|
|
|
|