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

Issue 2008113002: Notify the BluetoothAdapter::Observer when a bluetooth peripheral disconnects (Closed)

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

Description

Notify the BluetoothAdapter::Observer when a bluetooth peripheral disconnects on Android and Mac. BUG=582537 TEST=The "Connecting and disconnecting" section of https://goo.gl/XwzFlR#heading=h.efzd105luqv2. Committed: https://crrev.com/e7ee2ca3a44637a7dbc964978a74f5cd07865c02 Cr-Commit-Position: refs/heads/master@{#395815}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Avoid calling observers during ~BluetoothDevice(). #

Patch Set 3 : Improve DeviceChanged comment and add a dedicated test. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -16 lines) Patch
M device/bluetooth/bluetooth_adapter.h View 1 2 2 chunks +18 lines, -3 lines 0 comments Download
M device/bluetooth/bluetooth_adapter.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_device.cc View 1 3 chunks +5 lines, -1 line 2 comments Download
M device/bluetooth/bluetooth_device_unittest.cc View 1 2 1 chunk +24 lines, -0 lines 0 comments Download
M device/bluetooth/bluez/bluetooth_adapter_bluez.h View 1 chunk +0 lines, -4 lines 0 comments Download
M device/bluetooth/bluez/bluetooth_adapter_bluez.cc View 1 chunk +0 lines, -8 lines 0 comments Download

Messages

Total messages: 24 (10 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2008113002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2008113002/1
4 years, 7 months ago (2016-05-24 21:27:49 UTC) #2
Jeffrey Yasskin
4 years, 7 months ago (2016-05-24 22:04:20 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/116555)
4 years, 7 months ago (2016-05-24 22:16:14 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2008113002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2008113002/20001
4 years, 7 months ago (2016-05-24 23:24:39 UTC) #9
scheib
https://codereview.chromium.org/2008113002/diff/1/device/bluetooth/bluetooth_adapter.h File device/bluetooth/bluetooth_adapter.h (right): https://codereview.chromium.org/2008113002/diff/1/device/bluetooth/bluetooth_adapter.h#newcode88 device/bluetooth/bluetooth_adapter.h:88: virtual void DeviceChanged(BluetoothAdapter* adapter, Please add disconnection to the ...
4 years, 7 months ago (2016-05-24 23:34:35 UTC) #10
commit-bot: I haz the power
Dry run: None
4 years, 7 months ago (2016-05-25 00:06:56 UTC) #11
Jeffrey Yasskin
https://codereview.chromium.org/2008113002/diff/1/device/bluetooth/bluetooth_adapter.h File device/bluetooth/bluetooth_adapter.h (right): https://codereview.chromium.org/2008113002/diff/1/device/bluetooth/bluetooth_adapter.h#newcode88 device/bluetooth/bluetooth_adapter.h:88: virtual void DeviceChanged(BluetoothAdapter* adapter, On 2016/05/24 23:34:34, scheib wrote: ...
4 years, 7 months ago (2016-05-25 00:08:13 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2008113002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2008113002/40001
4 years, 7 months ago (2016-05-25 00:08:22 UTC) #14
scheib
LGTM https://codereview.chromium.org/2008113002/diff/40001/device/bluetooth/bluetooth_device.cc File device/bluetooth/bluetooth_device.cc (right): https://codereview.chromium.org/2008113002/diff/40001/device/bluetooth/bluetooth_device.cc#newcode29 device/bluetooth/bluetooth_device.cc:29: for (BluetoothGattConnection* connection : gatt_connections_) { On 2016/05/25 ...
4 years, 7 months ago (2016-05-25 01:06:55 UTC) #15
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-25 03:57:04 UTC) #17
commit-bot: I haz the power
Dry run: None
4 years, 7 months ago (2016-05-25 03:57:13 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2008113002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2008113002/40001
4 years, 7 months ago (2016-05-25 06:35:13 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-25 06:38:41 UTC) #22
commit-bot: I haz the power
4 years, 7 months ago (2016-05-25 06:39:52 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/e7ee2ca3a44637a7dbc964978a74f5cd07865c02
Cr-Commit-Position: refs/heads/master@{#395815}

Powered by Google App Engine
This is Rietveld 408576698