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

Issue 2221353002: Bluetooth: mac: Crash while loging nil error. (Closed)

Created:
4 years, 4 months ago by jlebel
Modified:
4 years, 4 months ago
CC:
chromium-reviews, ortuno+watch_chromium.org, scheib+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Bluetooth: mac: Crash while loging nil error. Should not log error if no error. BUG=625209 Committed: https://crrev.com/e56593588554cf77aeab9bdab380ea80a7553057 Cr-Commit-Position: refs/heads/master@{#411373}

Patch Set 1 #

Patch Set 2 : Better fix #

Total comments: 8

Patch Set 3 : ortuno comments #

Total comments: 3

Patch Set 4 : Removing BluetoothLowEnergyDeviceMac::DidDisconnectPeripheral(BluetoothDevice::ConnectErrorCode) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -20 lines) Patch
M device/bluetooth/bluetooth_adapter_mac.mm View 1 2 3 2 chunks +16 lines, -11 lines 0 comments Download
M device/bluetooth/bluetooth_low_energy_device_mac.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M device/bluetooth/bluetooth_low_energy_device_mac.mm View 1 2 3 1 chunk +3 lines, -8 lines 0 comments Download

Messages

Total messages: 20 (7 generated)
jlebel
Hello Giovanni, Can you review this patch? Thanks,
4 years, 4 months ago (2016-08-09 13:40:33 UTC) #2
ortuno
https://codereview.chromium.org/2221353002/diff/20001/device/bluetooth/bluetooth_adapter_mac.mm File device/bluetooth/bluetooth_adapter_mac.mm (right): https://codereview.chromium.org/2221353002/diff/20001/device/bluetooth/bluetooth_adapter_mac.mm#newcode567 device/bluetooth/bluetooth_adapter_mac.mm:567: if (error) { DidFailToConnectPeripheral should always be called with ...
4 years, 4 months ago (2016-08-09 15:40:25 UTC) #3
jlebel
Thanks, https://codereview.chromium.org/2221353002/diff/20001/device/bluetooth/bluetooth_adapter_mac.mm File device/bluetooth/bluetooth_adapter_mac.mm (right): https://codereview.chromium.org/2221353002/diff/20001/device/bluetooth/bluetooth_adapter_mac.mm#newcode567 device/bluetooth/bluetooth_adapter_mac.mm:567: if (error) { On 2016/08/09 15:40:25, ortuno wrote: ...
4 years, 4 months ago (2016-08-09 16:23:58 UTC) #4
ortuno
https://codereview.chromium.org/2221353002/diff/40001/device/bluetooth/bluetooth_low_energy_device_mac.mm File device/bluetooth/bluetooth_low_energy_device_mac.mm (right): https://codereview.chromium.org/2221353002/diff/40001/device/bluetooth/bluetooth_low_energy_device_mac.mm#newcode400 device/bluetooth/bluetooth_low_energy_device_mac.mm:400: void BluetoothLowEnergyDeviceMac::DidDisconnectPeripheral( I wonder if we really need this ...
4 years, 4 months ago (2016-08-09 19:14:56 UTC) #5
jlebel
https://codereview.chromium.org/2221353002/diff/40001/device/bluetooth/bluetooth_low_energy_device_mac.mm File device/bluetooth/bluetooth_low_energy_device_mac.mm (right): https://codereview.chromium.org/2221353002/diff/40001/device/bluetooth/bluetooth_low_energy_device_mac.mm#newcode400 device/bluetooth/bluetooth_low_energy_device_mac.mm:400: void BluetoothLowEnergyDeviceMac::DidDisconnectPeripheral( On 2016/08/09 19:14:56, ortuno wrote: > I ...
4 years, 4 months ago (2016-08-10 08:42:19 UTC) #6
ortuno
https://codereview.chromium.org/2221353002/diff/40001/device/bluetooth/bluetooth_low_energy_device_mac.mm File device/bluetooth/bluetooth_low_energy_device_mac.mm (right): https://codereview.chromium.org/2221353002/diff/40001/device/bluetooth/bluetooth_low_energy_device_mac.mm#newcode400 device/bluetooth/bluetooth_low_energy_device_mac.mm:400: void BluetoothLowEnergyDeviceMac::DidDisconnectPeripheral( On 2016/08/10 at 08:42:19, jlebel wrote: > ...
4 years, 4 months ago (2016-08-10 16:49:10 UTC) #11
jlebel
On 2016/08/10 16:49:10, ortuno wrote: > https://codereview.chromium.org/2221353002/diff/40001/device/bluetooth/bluetooth_low_energy_device_mac.mm > File device/bluetooth/bluetooth_low_energy_device_mac.mm (right): > > https://codereview.chromium.org/2221353002/diff/40001/device/bluetooth/bluetooth_low_energy_device_mac.mm#newcode400 > ...
4 years, 4 months ago (2016-08-11 16:27:23 UTC) #12
jlebel
4 years, 4 months ago (2016-08-11 16:28:32 UTC) #13
ortuno
Thanks! lgtm
4 years, 4 months ago (2016-08-11 16:29:18 UTC) #14
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/2221353002/60001
4 years, 4 months ago (2016-08-11 16:32:48 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-11 18:09:26 UTC) #17
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/e56593588554cf77aeab9bdab380ea80a7553057 Cr-Commit-Position: refs/heads/master@{#411373}
4 years, 4 months ago (2016-08-11 18:11:43 UTC) #19
kolos1
4 years, 4 months ago (2016-08-12 08:24:35 UTC) #20
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.chromium.org/2235313004/ by kolos@chromium.org.

The reason for reverting is: This CL breaks
BluetoothTest.BluetoothGattConnection_SimulateDisconnect and
BluetoothTest.BluetoothGattConnection_DisconnectGatt_SimulateDisconnect on on
Mac10.11 and Mac10.10

See crbug.com/637216.

Powered by Google App Engine
This is Rietveld 408576698