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

Side by Side Diff: device/bluetooth/bluetooth_remote_gatt_descriptor_mac.mm

Issue 2745983003: Bluetooth: macOS: Adding logs (Closed)
Patch Set: Last fix about GetIdentifier() 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 #include "device/bluetooth/bluetooth_remote_gatt_descriptor_mac.h" 5 #include "device/bluetooth/bluetooth_remote_gatt_descriptor_mac.h"
6 6
7 #include "base/strings/sys_string_conversions.h" 7 #include "base/strings/sys_string_conversions.h"
8 #include "device/bluetooth/bluetooth_adapter_mac.h" 8 #include "device/bluetooth/bluetooth_adapter_mac.h"
9 #include "device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h" 9 #include "device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h"
10 10
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 const std::vector<uint8_t>& new_value, 67 const std::vector<uint8_t>& new_value,
68 const base::Closure& callback, 68 const base::Closure& callback,
69 const ErrorCallback& error_callback) { 69 const ErrorCallback& error_callback) {
70 NOTIMPLEMENTED(); 70 NOTIMPLEMENTED();
71 } 71 }
72 72
73 CBDescriptor* BluetoothRemoteGattDescriptorMac::GetCBDescriptor() const { 73 CBDescriptor* BluetoothRemoteGattDescriptorMac::GetCBDescriptor() const {
74 return cb_descriptor_.get(); 74 return cb_descriptor_.get();
75 } 75 }
76 76
77 std::string BluetoothRemoteGattDescriptorMac::ToString() const {
78 return std::string("<BluetoothRemoteGattServiceMac ") + GetIdentifier() +
79 ", characteristic " + gatt_characteristic_->GetIdentifier() + ">";
ortuno 2017/03/14 00:34:33 Same here. The UUID would be more useful.
80 }
81
77 } // namespace device. 82 } // namespace device.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698