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

Issue 236203018: win: Implement Bluetooth server. (Closed)

Created:
6 years, 8 months ago by xiyuan
Modified:
6 years, 7 months ago
Reviewers:
keybuk, wtc, rpaquay
CC:
chromium-reviews, cbentzel+watch_chromium.org, Ilya Sherman
Visibility:
Public.

Description

win: Implement Bluetooth server. BUG=333979 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266831

Patch Set 1 #

Total comments: 2

Patch Set 2 : move service publish code to BtSocketWin #

Total comments: 4

Patch Set 3 : for #2 comments #

Total comments: 2

Patch Set 4 : for #3 #

Total comments: 20

Patch Set 5 : for #4 comments #

Total comments: 10

Patch Set 6 : fix nits in #5 #

Patch Set 7 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+493 lines, -45 lines) Patch
M device/bluetooth/bluetooth_adapter_win.h View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_profile.cc View 1 2 3 4 5 6 1 chunk +3 lines, -3 lines 0 comments Download
M device/bluetooth/bluetooth_profile_win.h View 1 2 chunks +40 lines, -4 lines 0 comments Download
M device/bluetooth/bluetooth_profile_win.cc View 1 2 3 4 5 5 chunks +108 lines, -5 lines 0 comments Download
M device/bluetooth/bluetooth_socket_win.h View 1 2 3 4 5 6 5 chunks +37 lines, -3 lines 0 comments Download
M device/bluetooth/bluetooth_socket_win.cc View 1 2 3 4 5 6 7 chunks +215 lines, -12 lines 0 comments Download
M net/base/net_util.h View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M net/base/net_util.cc View 1 2 3 4 5 6 2 chunks +16 lines, -1 line 0 comments Download
M net/socket/tcp_socket_unittest.cc View 1 2 3 4 5 2 chunks +39 lines, -16 lines 0 comments Download
M net/socket/tcp_socket_win.h View 1 2 3 4 5 1 chunk +6 lines, -1 line 0 comments Download
M net/socket/tcp_socket_win.cc View 1 2 3 4 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
xiyuan
Suggested split: keybuk@ for overall review. Hope it is not making profile CL harder. rpaquay@ ...
6 years, 8 months ago (2014-04-15 22:46:39 UTC) #1
keybuk
https://codereview.chromium.org/236203018/diff/1/device/bluetooth/bluetooth_socket_win.h File device/bluetooth/bluetooth_socket_win.h (right): https://codereview.chromium.org/236203018/diff/1/device/bluetooth/bluetooth_socket_win.h#newcode50 device/bluetooth/bluetooth_socket_win.h:50: const net::NetLog::Source& source); It seems that the BluetoothProfileWin implementation ...
6 years, 8 months ago (2014-04-16 08:06:16 UTC) #2
wtc
On 2014/04/15 22:46:39, xiyuan wrote: > > wtc@ for net/* Sorry for the late reply. ...
6 years, 8 months ago (2014-04-23 16:52:32 UTC) #3
xiyuan
No worries. I am still moving the code from BtProfileWin into BtSocketWin per keybuk@'s suggestion. ...
6 years, 8 months ago (2014-04-23 16:54:48 UTC) #4
xiyuan
CL updated to move service publishing code from BluetoothProfileWin to BluetoothSocketWin. PTAL. Thanks. https://codereview.chromium.org/236203018/diff/1/device/bluetooth/bluetooth_socket_win.h File ...
6 years, 8 months ago (2014-04-23 17:42:55 UTC) #5
rpaquay
https://codereview.chromium.org/236203018/diff/40001/device/bluetooth/bluetooth_socket_win.cc File device/bluetooth/bluetooth_socket_win.cc (right): https://codereview.chromium.org/236203018/diff/40001/device/bluetooth/bluetooth_socket_win.cc#newcode63 device/bluetooth/bluetooth_socket_win.cc:63: ZeroMemory(this, sizeof(ServiceRegData)); Is it safe to ZeroMemory a struct ...
6 years, 8 months ago (2014-04-23 22:52:05 UTC) #6
xiyuan
https://codereview.chromium.org/236203018/diff/40001/device/bluetooth/bluetooth_socket_win.cc File device/bluetooth/bluetooth_socket_win.cc (right): https://codereview.chromium.org/236203018/diff/40001/device/bluetooth/bluetooth_socket_win.cc#newcode63 device/bluetooth/bluetooth_socket_win.cc:63: ZeroMemory(this, sizeof(ServiceRegData)); On 2014/04/23 22:52:06, rpaquay wrote: > Is ...
6 years, 8 months ago (2014-04-23 23:19:42 UTC) #7
keybuk
lgtm I'm not too worried about the BluetoothProfile removal, since I can remove BP without ...
6 years, 8 months ago (2014-04-24 11:49:28 UTC) #8
rpaquay
lgtm with nit https://codereview.chromium.org/236203018/diff/60001/device/bluetooth/bluetooth_adapter_win.h File device/bluetooth/bluetooth_adapter_win.h (right): https://codereview.chromium.org/236203018/diff/60001/device/bluetooth/bluetooth_adapter_win.h#newcode76 device/bluetooth/bluetooth_adapter_win.h:76: scoped_refptr<BluetoothSocketThreadWin> socket_thread(); Sorry I didn't notice ...
6 years, 8 months ago (2014-04-24 20:08:32 UTC) #9
xiyuan
https://codereview.chromium.org/236203018/diff/60001/device/bluetooth/bluetooth_adapter_win.h File device/bluetooth/bluetooth_adapter_win.h (right): https://codereview.chromium.org/236203018/diff/60001/device/bluetooth/bluetooth_adapter_win.h#newcode76 device/bluetooth/bluetooth_adapter_win.h:76: scoped_refptr<BluetoothSocketThreadWin> socket_thread(); On 2014/04/24 20:08:32, rpaquay wrote: > Sorry ...
6 years, 8 months ago (2014-04-24 20:57:04 UTC) #10
wtc
Review comments on patch set 4: Overall the code seems good. I reviewed the whole ...
6 years, 8 months ago (2014-04-24 23:09:31 UTC) #11
xiyuan
PTAL. Thanks. https://codereview.chromium.org/236203018/diff/80001/device/bluetooth/bluetooth_profile_win.cc File device/bluetooth/bluetooth_profile_win.cc (right): https://codereview.chromium.org/236203018/diff/80001/device/bluetooth/bluetooth_profile_win.cc#newcode78 device/bluetooth/bluetooth_profile_win.cc:78: end_point.address()[0]); On 2014/04/24 23:09:31, wtc wrote: > ...
6 years, 8 months ago (2014-04-25 20:29:28 UTC) #12
wtc
Patch set 5 LGTM. https://codereview.chromium.org/236203018/diff/100001/device/bluetooth/bluetooth_socket_win.cc File device/bluetooth/bluetooth_socket_win.cc (right): https://codereview.chromium.org/236203018/diff/100001/device/bluetooth/bluetooth_socket_win.cc#newcode487 device/bluetooth/bluetooth_socket_win.cc:487: // The ownership is transferred ...
6 years, 7 months ago (2014-04-28 23:54:43 UTC) #13
xiyuan
https://codereview.chromium.org/236203018/diff/100001/device/bluetooth/bluetooth_socket_win.cc File device/bluetooth/bluetooth_socket_win.cc (right): https://codereview.chromium.org/236203018/diff/100001/device/bluetooth/bluetooth_socket_win.cc#newcode487 device/bluetooth/bluetooth_socket_win.cc:487: // The ownership is transferred in AdoptListenSocket(). Note that ...
6 years, 7 months ago (2014-04-29 00:50:25 UTC) #14
xiyuan
The CQ bit was checked by xiyuan@chromium.org
6 years, 7 months ago (2014-04-29 01:05:10 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xiyuan@chromium.org/236203018/140001
6 years, 7 months ago (2014-04-29 01:06:18 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-29 01:43:57 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on chromium_presubmit
6 years, 7 months ago (2014-04-29 01:43:57 UTC) #18
xiyuan
The CQ bit was checked by xiyuan@chromium.org
6 years, 7 months ago (2014-04-29 02:39:13 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xiyuan@chromium.org/236203018/140001
6 years, 7 months ago (2014-04-29 02:39:38 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-29 03:14:41 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on chromium_presubmit
6 years, 7 months ago (2014-04-29 03:14:42 UTC) #22
xiyuan
The CQ bit was checked by xiyuan@chromium.org
6 years, 7 months ago (2014-04-29 03:26:50 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xiyuan@chromium.org/236203018/140001
6 years, 7 months ago (2014-04-29 03:28:06 UTC) #24
commit-bot: I haz the power
6 years, 7 months ago (2014-04-29 10:24:36 UTC) #25
Message was sent while issue was closed.
Change committed as 266831

Powered by Google App Engine
This is Rietveld 408576698