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

Issue 12374062: Bluetooth: Send UI notifications when the connecting status changes. (Closed)

Created:
7 years, 9 months ago by deymo
Modified:
7 years, 8 months ago
Reviewers:
keybuk
CC:
chromium-reviews
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Bluetooth: Send UI notifications when the connecting status changes. This fix sends a DeviceChanged notification to all the BluetoothAdapter::Observer when a BluetoothDevice::Connect makes the BluetoothDevice::IsConnecting property change. BUG=231985 TEST=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195375

Patch Set 1 #

Total comments: 8

Patch Set 2 : NotifyDeviceChanged #

Total comments: 6

Patch Set 3 : DeviceChanged moved in adapter and nits #

Total comments: 2

Patch Set 4 : CHECK goes DCHECK #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -12 lines) Patch
M device/bluetooth/bluetooth_adapter_chromeos.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_adapter_chromeos.cc View 1 2 3 5 chunks +16 lines, -12 lines 0 comments Download
M device/bluetooth/bluetooth_device_chromeos.cc View 1 2 3 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
deymo
I need this notification in BlueZ 4 to test that bug.
7 years, 8 months ago (2013-04-18 00:45:24 UTC) #1
keybuk
Bluetooth{Adapter,Device}ExperimentalChromeOS will need this change too (currently in CQ) https://chromiumcodereview.appspot.com/12374062/diff/1/device/bluetooth/bluetooth_adapter_chromeos.cc File device/bluetooth/bluetooth_adapter_chromeos.cc (right): https://chromiumcodereview.appspot.com/12374062/diff/1/device/bluetooth/bluetooth_adapter_chromeos.cc#newcode252 device/bluetooth/bluetooth_adapter_chromeos.cc:252: ...
7 years, 8 months ago (2013-04-18 00:52:23 UTC) #2
deymo
PTAL. Please remember this is not a long-term fix. https://codereview.chromium.org/12374062/diff/1/device/bluetooth/bluetooth_adapter_chromeos.cc File device/bluetooth/bluetooth_adapter_chromeos.cc (right): https://codereview.chromium.org/12374062/diff/1/device/bluetooth/bluetooth_adapter_chromeos.cc#newcode252 device/bluetooth/bluetooth_adapter_chromeos.cc:252: ...
7 years, 8 months ago (2013-04-18 01:38:40 UTC) #3
keybuk
https://codereview.chromium.org/12374062/diff/1/device/bluetooth/bluetooth_adapter_chromeos.cc File device/bluetooth/bluetooth_adapter_chromeos.cc (right): https://codereview.chromium.org/12374062/diff/1/device/bluetooth/bluetooth_adapter_chromeos.cc#newcode252 device/bluetooth/bluetooth_adapter_chromeos.cc:252: DeviceChanged(this, device)); On 2013/04/18 01:38:40, deymo wrote: > On ...
7 years, 8 months ago (2013-04-18 15:54:17 UTC) #4
deymo
https://codereview.chromium.org/12374062/diff/6001/device/bluetooth/bluetooth_device_chromeos.cc File device/bluetooth/bluetooth_device_chromeos.cc (right): https://codereview.chromium.org/12374062/diff/6001/device/bluetooth/bluetooth_device_chromeos.cc#newcode531 device/bluetooth/bluetooth_device_chromeos.cc:531: bool prev_connecting = !!connecting_calls_; It could be any of ...
7 years, 8 months ago (2013-04-18 16:27:43 UTC) #5
keybuk
https://codereview.chromium.org/12374062/diff/6001/device/bluetooth/bluetooth_device_chromeos.cc File device/bluetooth/bluetooth_device_chromeos.cc (right): https://codereview.chromium.org/12374062/diff/6001/device/bluetooth/bluetooth_device_chromeos.cc#newcode531 device/bluetooth/bluetooth_device_chromeos.cc:531: bool prev_connecting = !!connecting_calls_; On 2013/04/18 16:27:43, deymo wrote: ...
7 years, 8 months ago (2013-04-18 17:12:05 UTC) #6
deymo
PTAL https://codereview.chromium.org/12374062/diff/1/device/bluetooth/bluetooth_adapter_chromeos.cc File device/bluetooth/bluetooth_adapter_chromeos.cc (right): https://codereview.chromium.org/12374062/diff/1/device/bluetooth/bluetooth_adapter_chromeos.cc#newcode252 device/bluetooth/bluetooth_adapter_chromeos.cc:252: DeviceChanged(this, device)); On 2013/04/18 15:54:17, keybuk wrote: > ...
7 years, 8 months ago (2013-04-19 01:40:30 UTC) #7
keybuk
lgtm please note in the bug that the equivalent ExperimentalChromeOS change is not yet done
7 years, 8 months ago (2013-04-19 01:55:44 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/deymo@chromium.org/12374062/13001
7 years, 8 months ago (2013-04-19 20:45:27 UTC) #9
keybuk
https://codereview.chromium.org/12374062/diff/13001/device/bluetooth/bluetooth_adapter_chromeos.cc File device/bluetooth/bluetooth_adapter_chromeos.cc (right): https://codereview.chromium.org/12374062/diff/13001/device/bluetooth/bluetooth_adapter_chromeos.cc#newcode239 device/bluetooth/bluetooth_adapter_chromeos.cc:239: CHECK(device->adapter_ == this); this must be a DCHECK... please ...
7 years, 8 months ago (2013-04-19 20:48:53 UTC) #10
deymo
https://codereview.chromium.org/12374062/diff/13001/device/bluetooth/bluetooth_adapter_chromeos.cc File device/bluetooth/bluetooth_adapter_chromeos.cc (right): https://codereview.chromium.org/12374062/diff/13001/device/bluetooth/bluetooth_adapter_chromeos.cc#newcode239 device/bluetooth/bluetooth_adapter_chromeos.cc:239: CHECK(device->adapter_ == this); On 2013/04/19 20:48:53, keybuk wrote: > ...
7 years, 8 months ago (2013-04-19 21:05:42 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/deymo@chromium.org/12374062/29001
7 years, 8 months ago (2013-04-19 21:06:08 UTC) #12
commit-bot: I haz the power
7 years, 8 months ago (2013-04-20 03:11:11 UTC) #13
Message was sent while issue was closed.
Change committed as 195375

Powered by Google App Engine
This is Rietveld 408576698