| 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> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <set> | 10 #include <set> |
| 11 | 11 |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/memory/scoped_vector.h" | 14 #include "base/memory/scoped_vector.h" |
| 14 #include "device/bluetooth/bluetooth_export.h" | 15 #include "device/bluetooth/bluetooth_export.h" |
| 15 #include "device/bluetooth/bluetooth_uuid.h" | 16 #include "device/bluetooth/bluetooth_uuid.h" |
| 16 | 17 |
| 17 namespace device { | 18 namespace device { |
| 18 | 19 |
| 19 // Used to keep a discovery filter that can be used to limit reported devices. | 20 // Used to keep a discovery filter that can be used to limit reported devices. |
| 20 class DEVICE_BLUETOOTH_EXPORT BluetoothDiscoveryFilter { | 21 class DEVICE_BLUETOOTH_EXPORT BluetoothDiscoveryFilter { |
| 21 public: | 22 public: |
| 22 // Possible transports to use for scan filter. | 23 // Possible transports to use for scan filter. |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 scoped_ptr<uint16_t> pathloss_; | 70 scoped_ptr<uint16_t> pathloss_; |
| 70 TransportMask transport_; | 71 TransportMask transport_; |
| 71 ScopedVector<device::BluetoothUUID> uuids_; | 72 ScopedVector<device::BluetoothUUID> uuids_; |
| 72 | 73 |
| 73 DISALLOW_COPY_AND_ASSIGN(BluetoothDiscoveryFilter); | 74 DISALLOW_COPY_AND_ASSIGN(BluetoothDiscoveryFilter); |
| 74 }; | 75 }; |
| 75 | 76 |
| 76 } // namespace device | 77 } // namespace device |
| 77 | 78 |
| 78 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DISCOVERY_FILTER_H_ | 79 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DISCOVERY_FILTER_H_ |
| OLD | NEW |