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

Issue 13862020: Simplified BluetoothAdapterMac. (Closed)

Created:
7 years, 8 months ago by youngki
Modified:
7 years, 8 months ago
Reviewers:
Mark Mentovai, keybuk
CC:
chromium-reviews, sail+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Simplified BluetoothAdapterMac. Mainly removed the complicate but unnecessary logic of updating |devices_| with paired devices. Since Bluetooth APIs do not need to listen to any of Device* observer calls for paired devices, I simplified the logic by just repopulating |devices_| when there is a change to those devices. This is the first CL to implement Bluetooth 4.0 APIs and since there might be more changes, I'd rather implement the corresponding test in the later CLs once the shape of this file looks stable. BUG=229636 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=193313

Patch Set 1 #

Patch Set 2 : Updated comments #

Total comments: 2

Patch Set 3 : fix space #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -238 lines) Patch
M device/bluetooth/bluetooth_adapter_mac.h View 1 2 3 chunks +8 lines, -9 lines 0 comments Download
M device/bluetooth/bluetooth_adapter_mac.mm View 1 2 3 chunks +16 lines, -46 lines 0 comments Download
M device/bluetooth/bluetooth_adapter_mac_unittest.mm View 1 2 chunks +0 lines, -183 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
youngki
Mark, could you review this CL for objective-c?
7 years, 8 months ago (2013-04-09 20:50:39 UTC) #1
Mark Mentovai
LGTM https://chromiumcodereview.appspot.com/13862020/diff/2001/device/bluetooth/bluetooth_adapter_mac.h File device/bluetooth/bluetooth_adapter_mac.h (right): https://chromiumcodereview.appspot.com/13862020/diff/2001/device/bluetooth/bluetooth_adapter_mac.h#newcode124 device/bluetooth/bluetooth_adapter_mac.h:124: // Used to determine if we need to ...
7 years, 8 months ago (2013-04-09 20:57:03 UTC) #2
youngki
Thanks Mark for a quick review. Scott, could you take a look?
7 years, 8 months ago (2013-04-09 21:01:38 UTC) #3
keybuk
This doesn't seem to send any Observer methods now?
7 years, 8 months ago (2013-04-09 21:06:00 UTC) #4
youngki
On 2013/04/09 21:06:00, keybuk wrote: > This doesn't seem to send any Observer methods now? ...
7 years, 8 months ago (2013-04-09 21:16:36 UTC) #5
keybuk
Could you point at that DeviceAdded() call? I'm missing it You should probably also have ...
7 years, 8 months ago (2013-04-09 21:39:32 UTC) #6
youngki
On 2013/04/09 21:39:32, keybuk wrote: > Could you point at that DeviceAdded() call? I'm missing ...
7 years, 8 months ago (2013-04-09 22:25:09 UTC) #7
keybuk
lgtm
7 years, 8 months ago (2013-04-09 22:28:49 UTC) #8
youngki
Thanks for the review. Putting this into CQ now.
7 years, 8 months ago (2013-04-09 23:41:35 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/youngki@chromium.org/13862020/7001
7 years, 8 months ago (2013-04-09 23:41:59 UTC) #10
commit-bot: I haz the power
Commit queue rejected this change because the description was changed between the time the change ...
7 years, 8 months ago (2013-04-10 03:39:31 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/youngki@chromium.org/13862020/7001
7 years, 8 months ago (2013-04-10 03:41:05 UTC) #12
commit-bot: I haz the power
7 years, 8 months ago (2013-04-10 04:07:44 UTC) #13
Message was sent while issue was closed.
Change committed as 193313

Powered by Google App Engine
This is Rietveld 408576698