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

Issue 13983004: Simplified BluetoothDeviceMac. (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 BluetoothDeviceMac. BluetoothDeviceMac holds IOBluetoothDevice, an instance to a single remote Bluetooth device in OSX. BluetoothDeviceMac will use IOBluetoothDevice instance to run all the device-related functions instead of using cached data. Also fixed rfcomm_channel bug in BluetoothSocketMac. BUG=229636 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194020

Patch Set 1 #

Patch Set 2 : Add comments. #

Total comments: 15

Patch Set 3 : Added DCHECK. #

Patch Set 4 : set delegate to nil. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -92 lines) Patch
M device/bluetooth/bluetooth_device_mac.h View 2 chunks +2 lines, -29 lines 0 comments Download
M device/bluetooth/bluetooth_device_mac.mm View 1 2 5 chunks +63 lines, -63 lines 0 comments Download
M device/bluetooth/bluetooth_socket_mac.mm View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
youngki
Mark, could you review this for obj-c? Thanks!
7 years, 8 months ago (2013-04-11 21:35:51 UTC) #1
Mark Mentovai
https://chromiumcodereview.appspot.com/13983004/diff/2001/device/bluetooth/bluetooth_device_mac.mm File device/bluetooth/bluetooth_device_mac.mm (right): https://chromiumcodereview.appspot.com/13983004/diff/2001/device/bluetooth/bluetooth_device_mac.mm#newcode42 device/bluetooth/bluetooth_device_mac.mm:42: std::string numbers_only = uuid; DCHECK that the string has ...
7 years, 8 months ago (2013-04-11 21:48:58 UTC) #2
youngki
https://chromiumcodereview.appspot.com/13983004/diff/2001/device/bluetooth/bluetooth_device_mac.mm File device/bluetooth/bluetooth_device_mac.mm (right): https://chromiumcodereview.appspot.com/13983004/diff/2001/device/bluetooth/bluetooth_device_mac.mm#newcode42 device/bluetooth/bluetooth_device_mac.mm:42: std::string numbers_only = uuid; On 2013/04/11 21:48:58, Mark Mentovai ...
7 years, 8 months ago (2013-04-11 22:14:29 UTC) #3
Mark Mentovai
https://chromiumcodereview.appspot.com/13983004/diff/2001/device/bluetooth/bluetooth_socket_mac.mm File device/bluetooth/bluetooth_socket_mac.mm (right): https://chromiumcodereview.appspot.com/13983004/diff/2001/device/bluetooth/bluetooth_socket_mac.mm#newcode56 device/bluetooth/bluetooth_socket_mac.mm:56: [rfcomm_channel_ closeChannel]; youngki wrote: > On 2013/04/11 21:48:58, Mark ...
7 years, 8 months ago (2013-04-11 22:24:37 UTC) #4
youngki
https://chromiumcodereview.appspot.com/13983004/diff/2001/device/bluetooth/bluetooth_socket_mac.mm File device/bluetooth/bluetooth_socket_mac.mm (right): https://chromiumcodereview.appspot.com/13983004/diff/2001/device/bluetooth/bluetooth_socket_mac.mm#newcode56 device/bluetooth/bluetooth_socket_mac.mm:56: [rfcomm_channel_ closeChannel]; On 2013/04/11 22:24:37, Mark Mentovai wrote: > ...
7 years, 8 months ago (2013-04-12 01:51:47 UTC) #5
Mark Mentovai
LGTM
7 years, 8 months ago (2013-04-12 02:36:33 UTC) #6
youngki
Thanks for the review, Mark. Scott, could you take a look?
7 years, 8 months ago (2013-04-12 02:38:07 UTC) #7
keybuk
lgtm glad that this got equivalently simplified too
7 years, 8 months ago (2013-04-12 18:08:34 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/youngki@chromium.org/13983004/16001
7 years, 8 months ago (2013-04-12 18:18:59 UTC) #9
commit-bot: I haz the power
7 years, 8 months ago (2013-04-12 21:45:31 UTC) #10
Message was sent while issue was closed.
Change committed as 194020

Powered by Google App Engine
This is Rietveld 408576698