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

Issue 10108015: Upstream changes making ListenSocket an abstract class. (Closed)

Created:
8 years, 8 months ago by Philippe
Modified:
8 years, 8 months ago
CC:
chromium-reviews, pam+watch_chromium.org, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Upstream changes making ListenSocket an abstract class. This is part of Chrome for Android upstreaming. This CL makes ListenSocket an abstract class instead of a concrete class implementing a TCP Listen Socket. This abstraction will be used later to make HttpServer seamlessly operate on TCP sockets and Unix domain sockets (will be upstreamed in a separate CL). The TCP Listen socket implementation, previously in listen_socket.{cc,h}, is now in tcp_listen_socket.{cc,h}. TEST=net_unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=133480

Patch Set 1 #

Patch Set 2 : Fix build #

Total comments: 10

Patch Set 3 : Address Matt's comments #

Total comments: 4

Patch Set 4 : Add listen_socket.cc. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+150 lines, -930 lines) Patch
M chrome_frame/test/test_server.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome_frame/test/test_server.cc View 1 3 chunks +4 lines, -2 lines 0 comments Download
M net/base/listen_socket.h View 1 2 3 2 chunks +12 lines, -84 lines 0 comments Download
D net/base/listen_socket.cc View 1 2 3 1 chunk +3 lines, -312 lines 0 comments Download
D net/base/listen_socket_unittest.h View 1 chunk +0 lines, -128 lines 0 comments Download
D net/base/listen_socket_unittest.cc View 1 chunk +0 lines, -248 lines 0 comments Download
A + net/base/tcp_listen_socket.h View 1 2 6 chunks +16 lines, -39 lines 0 comments Download
A + net/base/tcp_listen_socket.cc View 1 2 3 17 chunks +31 lines, -41 lines 0 comments Download
A + net/base/tcp_listen_socket_unittest.h View 4 chunks +16 lines, -17 lines 0 comments Download
A + net/base/tcp_listen_socket_unittest.cc View 13 chunks +43 lines, -40 lines 0 comments Download
M net/net.gyp View 1 2 3 4 chunks +5 lines, -3 lines 0 comments Download
M net/server/http_server.cc View 2 chunks +2 lines, -1 line 0 comments Download
M net/socket/transport_client_socket_unittest.cc View 5 chunks +8 lines, -6 lines 0 comments Download
M net/tools/fetch/http_listen_socket.h View 1 chunk +2 lines, -2 lines 0 comments Download
M net/tools/fetch/http_listen_socket.cc View 3 chunks +7 lines, -7 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Philippe
8 years, 8 months ago (2012-04-19 16:42:37 UTC) #1
willchan no longer on Chromium
+mmenke Matt, I'm not sure how much you've looked at ListenSocket before. Take a look, ...
8 years, 8 months ago (2012-04-19 16:44:27 UTC) #2
mmenke
Just a couple nits. http://codereview.chromium.org/10108015/diff/15001/net/base/listen_socket.h File net/base/listen_socket.h (left): http://codereview.chromium.org/10108015/diff/15001/net/base/listen_socket.h#oldcode27 net/base/listen_socket.h:27: #include "base/basictypes.h" You should still ...
8 years, 8 months ago (2012-04-20 17:48:34 UTC) #3
Philippe
I also did a sync which explains the new changes in the gyp file. http://codereview.chromium.org/10108015/diff/15001/net/base/listen_socket.h ...
8 years, 8 months ago (2012-04-23 09:28:22 UTC) #4
mmenke
LGTM, modulo two small issues. http://codereview.chromium.org/10108015/diff/26001/net/base/listen_socket.h File net/base/listen_socket.h (right): http://codereview.chromium.org/10108015/diff/26001/net/base/listen_socket.h#newcode48 net/base/listen_socket.h:48: } You should de-inline ...
8 years, 8 months ago (2012-04-23 14:57:39 UTC) #5
Philippe
Thanks for the review Matt! I will send you another CL very soon. http://codereview.chromium.org/10108015/diff/26001/net/base/listen_socket.h File ...
8 years, 8 months ago (2012-04-23 15:17:24 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pliard@chromium.org/10108015/38002
8 years, 8 months ago (2012-04-23 16:48:20 UTC) #7
commit-bot: I haz the power
8 years, 8 months ago (2012-04-23 18:23:42 UTC) #8
Change committed as 133480

Powered by Google App Engine
This is Rietveld 408576698