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

Issue 10918158: [net/udp] Create UDPSocketWin::Core which persists until all network operations complete. (Closed)

Created:
8 years, 3 months ago by szym
Modified:
8 years, 3 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

[net/udp] Create UDPSocketWin::Core which persists until all network operations complete. The Core pattern is copied from TCPClientSocketWin. BUG=121085 TEST=net_unittests --gtest_filter=UDP* Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=156328

Patch Set 1 #

Total comments: 18

Patch Set 2 : respond to review #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+156 lines, -86 lines) Patch
M net/udp/udp_socket_win.h View 1 2 chunks +5 lines, -41 lines 0 comments Download
M net/udp/udp_socket_win.cc View 1 14 chunks +151 lines, -45 lines 1 comment Download

Messages

Total messages: 7 (0 generated)
szym
8 years, 3 months ago (2012-09-10 23:01:28 UTC) #1
wtc
rvargas: since you added TCPClientSocketWin::Core, could you also review this CL? Thanks.
8 years, 3 months ago (2012-09-11 15:55:22 UTC) #2
wtc
Patch set 1 LGTM. Note that there are bugs and suggested changes. rvargas: I reviewed ...
8 years, 3 months ago (2012-09-12 01:40:29 UTC) #3
szym
http://codereview.chromium.org/10918158/diff/1/net/udp/udp_socket_win.cc File net/udp/udp_socket_win.cc (right): http://codereview.chromium.org/10918158/diff/1/net/udp/udp_socket_win.cc#newcode195 net/udp/udp_socket_win.cc:195: if (core_.get()) On 2012/09/12 01:40:29, wtc wrote: > > ...
8 years, 3 months ago (2012-09-12 02:23:45 UTC) #4
wtc
http://codereview.chromium.org/10918158/diff/1/net/udp/udp_socket_win.cc File net/udp/udp_socket_win.cc (right): http://codereview.chromium.org/10918158/diff/1/net/udp/udp_socket_win.cc#newcode56 net/udp/udp_socket_win.cc:56: WSABUF write_buffer_; On 2012/09/12 01:40:29, wtc wrote: > > ...
8 years, 3 months ago (2012-09-12 04:00:43 UTC) #5
szym
http://codereview.chromium.org/10918158/diff/1/net/udp/udp_socket_win.cc File net/udp/udp_socket_win.cc (right): http://codereview.chromium.org/10918158/diff/1/net/udp/udp_socket_win.cc#newcode56 net/udp/udp_socket_win.cc:56: WSABUF write_buffer_; On 2012/09/12 04:00:43, wtc wrote: > > ...
8 years, 3 months ago (2012-09-12 15:14:06 UTC) #6
wtc
8 years, 3 months ago (2012-09-12 19:07:39 UTC) #7
Patch set 2 LGTM!

http://codereview.chromium.org/10918158/diff/4/net/udp/udp_socket_win.cc
File net/udp/udp_socket_win.cc (right):

http://codereview.chromium.org/10918158/diff/4/net/udp/udp_socket_win.cc#newc...
net/udp/udp_socket_win.cc:482: SockaddrStorage& storage =
core_->recv_addr_storage_;

Nit: "recv_addr" is a better name than "storage" for this
variable. Also on line 607.

It is fine to not change this.

Powered by Google App Engine
This is Rietveld 408576698