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

Side by Side Diff: device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h

Issue 2745983003: Bluetooth: macOS: Adding logs (Closed)
Patch Set: Changing GetIdentifier() by GetUUID() + pointer Created 3 years, 9 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 unified diff | Download patch
OLDNEW
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_CHARACTERISTIC_MAC_H_ 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_CHARACTERISTIC_MAC_H_
6 #define DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_CHARACTERISTIC_MAC_H_ 6 #define DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_CHARACTERISTIC_MAC_H_
7 7
8 #include "device/bluetooth/bluetooth_remote_gatt_characteristic.h" 8 #include "device/bluetooth/bluetooth_remote_gatt_characteristic.h"
9 9
10 #include <unordered_map> 10 #include <unordered_map>
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 // Stores SubscribeToNotifications request callbacks. 128 // Stores SubscribeToNotifications request callbacks.
129 PendingNotifyCallbacks subscribe_to_notification_callbacks_; 129 PendingNotifyCallbacks subscribe_to_notification_callbacks_;
130 // Stores UnsubscribeFromNotifications request callbacks. 130 // Stores UnsubscribeFromNotifications request callbacks.
131 PendingNotifyCallbacks unsubscribe_from_notification_callbacks_; 131 PendingNotifyCallbacks unsubscribe_from_notification_callbacks_;
132 // Map of descriptors, keyed by descriptor identifier. 132 // Map of descriptors, keyed by descriptor identifier.
133 std::unordered_map<std::string, 133 std::unordered_map<std::string,
134 std::unique_ptr<BluetoothRemoteGattDescriptorMac>> 134 std::unique_ptr<BluetoothRemoteGattDescriptorMac>>
135 gatt_descriptor_macs_; 135 gatt_descriptor_macs_;
136 }; 136 };
137 137
138 // Stream operator for logging.
139 DEVICE_BLUETOOTH_EXPORT std::ostream& operator<<(
140 std::ostream& out,
141 const BluetoothRemoteGattCharacteristicMac& characteristic);
142
138 } // namespace device 143 } // namespace device
139 144
140 #endif // DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_CHARACTERISTIC_MAC_H_ 145 #endif // DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_CHARACTERISTIC_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698