OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_DISCOVERY_FILTER_H_ | 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_DISCOVERY_FILTER_H_ |
6 #define DEVICE_BLUETOOTH_BLUETOOTH_DISCOVERY_FILTER_H_ | 6 #define DEVICE_BLUETOOTH_BLUETOOTH_DISCOVERY_FILTER_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <set> | 10 #include <set> |
9 | 11 |
| 12 #include "base/macros.h" |
10 #include "base/memory/scoped_vector.h" | 13 #include "base/memory/scoped_vector.h" |
11 #include "device/bluetooth/bluetooth_export.h" | 14 #include "device/bluetooth/bluetooth_export.h" |
12 #include "device/bluetooth/bluetooth_uuid.h" | 15 #include "device/bluetooth/bluetooth_uuid.h" |
13 | 16 |
14 namespace device { | 17 namespace device { |
15 | 18 |
16 // Used to keep a discovery filter that can be used to limit reported devices. | 19 // Used to keep a discovery filter that can be used to limit reported devices. |
17 class DEVICE_BLUETOOTH_EXPORT BluetoothDiscoveryFilter { | 20 class DEVICE_BLUETOOTH_EXPORT BluetoothDiscoveryFilter { |
18 public: | 21 public: |
19 // Possible transports to use for scan filter. | 22 // Possible transports to use for scan filter. |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 scoped_ptr<uint16_t> pathloss_; | 69 scoped_ptr<uint16_t> pathloss_; |
67 TransportMask transport_; | 70 TransportMask transport_; |
68 ScopedVector<device::BluetoothUUID> uuids_; | 71 ScopedVector<device::BluetoothUUID> uuids_; |
69 | 72 |
70 DISALLOW_COPY_AND_ASSIGN(BluetoothDiscoveryFilter); | 73 DISALLOW_COPY_AND_ASSIGN(BluetoothDiscoveryFilter); |
71 }; | 74 }; |
72 | 75 |
73 } // namespace device | 76 } // namespace device |
74 | 77 |
75 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DISCOVERY_FILTER_H_ | 78 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DISCOVERY_FILTER_H_ |
OLD | NEW |