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

Side by Side Diff: device/bluetooth/bluetooth_remote_gatt_descriptor_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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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_DESCRIPTOR_MAC_H_ 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_DESCRIPTOR_MAC_H_
6 #define DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_DESCRIPTOR_MAC_H_ 6 #define DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_DESCRIPTOR_MAC_H_
7 7
8 #include "device/bluetooth/bluetooth_remote_gatt_descriptor.h" 8 #include "device/bluetooth/bluetooth_remote_gatt_descriptor.h"
9 9
10 #include <vector> 10 #include <vector>
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 // Descriptor from CoreBluetooth. 53 // Descriptor from CoreBluetooth.
54 base::scoped_nsobject<CBDescriptor> cb_descriptor_; 54 base::scoped_nsobject<CBDescriptor> cb_descriptor_;
55 // Descriptor identifier. 55 // Descriptor identifier.
56 std::string identifier_; 56 std::string identifier_;
57 // Descriptor UUID. 57 // Descriptor UUID.
58 BluetoothUUID uuid_; 58 BluetoothUUID uuid_;
59 // Descriptor value. 59 // Descriptor value.
60 std::vector<uint8_t> value_; 60 std::vector<uint8_t> value_;
61 }; 61 };
62 62
63 // Stream operator for logging.
64 DEVICE_BLUETOOTH_EXPORT std::ostream& operator<<(
65 std::ostream& out,
66 const BluetoothRemoteGattDescriptorMac& descriptor);
67
63 } // namespace device 68 } // namespace device
64 69
65 #endif // DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_CHARACTERISTIC_MAC_H_ 70 #endif // DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_CHARACTERISTIC_MAC_H_
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_remote_gatt_characteristic_mac.mm ('k') | device/bluetooth/bluetooth_remote_gatt_descriptor_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698