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

Issue 2745983003: Bluetooth: macOS: Adding logs (Closed)

Created:
3 years, 9 months ago by jlebel
Modified:
3 years, 9 months ago
Reviewers:
scheib, ortuno
CC:
chromium-reviews, mac-reviews_chromium.org, ortuno+watch_chromium.org, scheib+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Bluetooth: macOS: Adding logs Adding logs for macOS adapter, devices, services, characteristics and descriptors. BUG=685972 Review-Url: https://codereview.chromium.org/2745983003 Cr-Commit-Position: refs/heads/master@{#458691} Committed: https://chromium.googlesource.com/chromium/src/+/234aec4f17e0b08204b0e8df547ab7426100b404

Patch Set 1 : . #

Patch Set 2 : Replacing GetAddress() by GetIdentifier() and using SysNSStringToUTF8() #

Patch Set 3 : Small error with SysNSStringToUTF8() #

Patch Set 4 : Last fix about GetIdentifier() #

Total comments: 42

Patch Set 5 : Fix #

Patch Set 6 : Removing small typo #

Patch Set 7 : Changing GetIdentifier() by GetUUID() + pointer #

Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -36 lines) Patch
M device/bluetooth/bluetooth_adapter_mac.mm View 1 2 3 4 5 7 chunks +15 lines, -11 lines 0 comments Download
M device/bluetooth/bluetooth_low_energy_device_mac.h View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_low_energy_device_mac.mm View 1 2 3 4 5 6 14 chunks +41 lines, -16 lines 0 comments Download
M device/bluetooth/bluetooth_low_energy_discovery_manager_mac.mm View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_characteristic_mac.mm View 1 2 3 4 5 6 16 chunks +42 lines, -8 lines 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_descriptor_mac.h View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_descriptor_mac.mm View 1 2 3 4 5 6 1 chunk +13 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_service_mac.h View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_service_mac.mm View 1 2 3 4 5 6 6 chunks +20 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 35 (25 generated)
jlebel
Hello Giovanni, Can you review this patch about adding more logs to the macOS implementation? ...
3 years, 9 months ago (2017-03-13 19:35:59 UTC) #12
ortuno
Last time we added logs we accidentally adding a nullptr dereference. Could you run device_unittests ...
3 years, 9 months ago (2017-03-14 00:34:34 UTC) #13
ortuno
https://codereview.chromium.org/2745983003/diff/200001/device/bluetooth/bluetooth_low_energy_device_mac.mm File device/bluetooth/bluetooth_low_energy_device_mac.mm (right): https://codereview.chromium.org/2745983003/diff/200001/device/bluetooth/bluetooth_low_energy_device_mac.mm#newcode434 device/bluetooth/bluetooth_low_energy_device_mac.mm:434: const char* name_cstr = name ? name->c_str() : ""; ...
3 years, 9 months ago (2017-03-14 02:12:01 UTC) #14
jlebel
Hello Giovanni, I've just tested the unit tests for this patch using "--vmodule=*bluetooth*=9", on my ...
3 years, 9 months ago (2017-03-15 01:08:41 UTC) #19
scheib
lgtm, with at least the TODO comment below and perhaps best to fix the ::ToString() ...
3 years, 9 months ago (2017-03-21 21:43:31 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2745983003/260001
3 years, 9 months ago (2017-03-21 23:23:05 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/builds/176918)
3 years, 9 months ago (2017-03-21 23:36:44 UTC) #29
jlebel
https://codereview.chromium.org/2745983003/diff/200001/device/bluetooth/bluetooth_low_energy_device_mac.mm File device/bluetooth/bluetooth_low_energy_device_mac.mm (right): https://codereview.chromium.org/2745983003/diff/200001/device/bluetooth/bluetooth_low_energy_device_mac.mm#newcode434 device/bluetooth/bluetooth_low_energy_device_mac.mm:434: const char* name_cstr = name ? name->c_str() : ""; ...
3 years, 9 months ago (2017-03-21 23:57:59 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2745983003/260001
3 years, 9 months ago (2017-03-22 08:50:12 UTC) #32
commit-bot: I haz the power
3 years, 9 months ago (2017-03-22 09:00:32 UTC) #35
Message was sent while issue was closed.
Committed patchset #7 (id:260001) as
https://chromium.googlesource.com/chromium/src/+/234aec4f17e0b08204b0e8df547a...

Powered by Google App Engine
This is Rietveld 408576698