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

Issue 320463002: Bluetooth: Implement socket API for Windows. (Closed)

Created:
6 years, 6 months ago by xiyuan
Modified:
6 years, 6 months ago
Reviewers:
keybuk, rpaquay
CC:
chromium-reviews, Ilya Sherman
Visibility:
Public.

Description

Bluetooth: Implement socket API for Windows. - BluetoothSocketWin::StartService -> BluetoothSocketWin::Listen; - Update BluetoothSocketWin::Connect to use a new semantics; - Impelment BluetoothDeviceWin::ConnectToService and BluetoothAdapterWin::CreateRfcommService using the above two; - Remove no longer needed BluetoothProfileWin; BUG=372494 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275394

Patch Set 1 #

Patch Set 2 : fix lost comment #

Total comments: 2

Patch Set 3 : handle NULL service_record #

Total comments: 3

Patch Set 4 : DeviceWin return SDRWin to avoid cast #

Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -410 lines) Patch
M device/bluetooth/bluetooth.gyp View 1 chunk +0 lines, -2 lines 0 comments Download
M device/bluetooth/bluetooth_adapter_win.cc View 1 chunk +10 lines, -2 lines 0 comments Download
M device/bluetooth/bluetooth_device_win.h View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M device/bluetooth/bluetooth_device_win.cc View 1 2 3 4 chunks +7 lines, -12 lines 0 comments Download
M device/bluetooth/bluetooth_profile.cc View 2 chunks +0 lines, -6 lines 0 comments Download
D device/bluetooth/bluetooth_profile_win.h View 1 chunk +0 lines, -87 lines 0 comments Download
D device/bluetooth/bluetooth_profile_win.cc View 1 chunk +0 lines, -222 lines 0 comments Download
M device/bluetooth/bluetooth_socket_win.h View 1 3 chunks +28 lines, -27 lines 0 comments Download
M device/bluetooth/bluetooth_socket_win.cc View 1 2 3 10 chunks +100 lines, -49 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
xiyuan
It is quite straightforward and easier than I expected. :)
6 years, 6 months ago (2014-06-05 20:01:11 UTC) #1
rpaquay
lgtm with a question below. https://codereview.chromium.org/320463002/diff/10001/device/bluetooth/bluetooth_socket_win.cc File device/bluetooth/bluetooth_socket_win.cc (right): https://codereview.chromium.org/320463002/diff/10001/device/bluetooth/bluetooth_socket_win.cc#newcode115 device/bluetooth/bluetooth_socket_win.cc:115: device->GetServiceRecord(uuid)); Don't we need ...
6 years, 6 months ago (2014-06-05 20:40:36 UTC) #2
xiyuan
https://codereview.chromium.org/320463002/diff/10001/device/bluetooth/bluetooth_socket_win.cc File device/bluetooth/bluetooth_socket_win.cc (right): https://codereview.chromium.org/320463002/diff/10001/device/bluetooth/bluetooth_socket_win.cc#newcode115 device/bluetooth/bluetooth_socket_win.cc:115: device->GetServiceRecord(uuid)); On 2014/06/05 20:40:36, rpaquay wrote: > Don't we ...
6 years, 6 months ago (2014-06-05 20:57:23 UTC) #3
keybuk
lgtm https://codereview.chromium.org/320463002/diff/30001/device/bluetooth/bluetooth_socket_win.cc File device/bluetooth/bluetooth_socket_win.cc (right): https://codereview.chromium.org/320463002/diff/30001/device/bluetooth/bluetooth_socket_win.cc#newcode114 device/bluetooth/bluetooth_socket_win.cc:114: const BluetoothServiceRecord* service_record = device->GetServiceRecord(uuid); If this returned ...
6 years, 6 months ago (2014-06-05 22:03:03 UTC) #4
xiyuan
https://codereview.chromium.org/320463002/diff/30001/device/bluetooth/bluetooth_socket_win.cc File device/bluetooth/bluetooth_socket_win.cc (right): https://codereview.chromium.org/320463002/diff/30001/device/bluetooth/bluetooth_socket_win.cc#newcode121 device/bluetooth/bluetooth_socket_win.cc:121: static_cast<const BluetoothServiceRecordWin*>(service_record); On 2014/06/05 22:03:03, keybuk wrote: > ...then ...
6 years, 6 months ago (2014-06-06 00:29:13 UTC) #5
xiyuan
The CQ bit was checked by xiyuan@chromium.org
6 years, 6 months ago (2014-06-06 00:29:33 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xiyuan@chromium.org/320463002/50001
6 years, 6 months ago (2014-06-06 00:31:11 UTC) #7
commit-bot: I haz the power
6 years, 6 months ago (2014-06-06 11:03:43 UTC) #8
Message was sent while issue was closed.
Change committed as 275394

Powered by Google App Engine
This is Rietveld 408576698