Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Unified Diff: device/bluetooth/bluetooth_discovery_filter.h

Issue 2063353002: device/bluetooth: split out transport enum (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: renaming header, moving TransportMask back into filter Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698