| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_REMOTE_GATT_SERVICE_MAC_H_ | 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_SERVICE_MAC_H_ |
| 6 #define DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_SERVICE_MAC_H_ | 6 #define DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_SERVICE_MAC_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <unordered_map> | 10 #include <unordered_map> |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 // Service identifier. | 95 // Service identifier. |
| 96 std::string identifier_; | 96 std::string identifier_; |
| 97 // Service UUID. | 97 // Service UUID. |
| 98 BluetoothUUID uuid_; | 98 BluetoothUUID uuid_; |
| 99 // Is true if the characteristics has been discovered. | 99 // Is true if the characteristics has been discovered. |
| 100 bool is_discovery_complete_; | 100 bool is_discovery_complete_; |
| 101 | 101 |
| 102 DISALLOW_COPY_AND_ASSIGN(BluetoothRemoteGattServiceMac); | 102 DISALLOW_COPY_AND_ASSIGN(BluetoothRemoteGattServiceMac); |
| 103 }; | 103 }; |
| 104 | 104 |
| 105 // Stream operator for logging. |
| 106 DEVICE_BLUETOOTH_EXPORT std::ostream& operator<<( |
| 107 std::ostream& out, |
| 108 const BluetoothRemoteGattServiceMac& service); |
| 109 |
| 105 } // namespace device | 110 } // namespace device |
| 106 | 111 |
| 107 #endif // DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_SERVICE_MAC_H_ | 112 #endif // DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_SERVICE_MAC_H_ |
| OLD | NEW |