Index: device/bluetooth/bluetooth_discovery_filter.h |
diff --git a/device/bluetooth/bluetooth_discovery_filter.h b/device/bluetooth/bluetooth_discovery_filter.h |
index 366af10a5f47797fd651d7db68c839475d21e002..6b337585ecb0ae054d8c4af696c5843ed9f55a33 100644 |
--- a/device/bluetooth/bluetooth_discovery_filter.h |
+++ b/device/bluetooth/bluetooth_discovery_filter.h |
@@ -13,6 +13,7 @@ |
#include "base/macros.h" |
#include "base/memory/scoped_vector.h" |
#include "device/bluetooth/bluetooth_export.h" |
+#include "device/bluetooth/bluetooth_types.h" |
#include "device/bluetooth/bluetooth_uuid.h" |
namespace device { |
@@ -20,12 +21,7 @@ namespace device { |
// Used to keep a discovery filter that can be used to limit reported devices. |
class DEVICE_BLUETOOTH_EXPORT BluetoothDiscoveryFilter { |
public: |
- // Possible transports to use for scan filter. |
- enum Transport { |
- TRANSPORT_CLASSIC = 0x01, |
- TRANSPORT_LE = 0x02, |
- TRANSPORT_DUAL = (TRANSPORT_CLASSIC | TRANSPORT_LE) |
- }; |
+ // Allowed transport types for the scan filter. |
ortuno
2016/06/15 18:13:34
I don't think this comment belongs here anymore.
|
using TransportMask = uint8_t; |
BluetoothDiscoveryFilter(TransportMask transport); |