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

Issue 3202: Make tcp_client_socket_unittest pass on Linux.... (Closed)

Created:
12 years, 3 months ago by also_not_the_right_dank
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Make tcp_client_socket_unittest pass on Linux. Requires another changeset that puts libevent in third_party; I'll upload that next. This is not the final word; it makes too many syscalls per read. But it's a start. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=2346

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+656 lines, -20 lines) Patch
M base/SConscript View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M base/message_loop.h View 1 2 3 4 5 6 7 8 3 chunks +15 lines, -0 lines 0 comments Download
M base/message_loop.cc View 1 2 3 4 5 6 7 8 3 chunks +21 lines, -1 line 0 comments Download
A base/message_pump_libevent.h View 1 2 3 4 5 6 7 8 1 chunk +89 lines, -0 lines 0 comments Download
A base/message_pump_libevent.cc View 1 2 3 4 5 6 7 8 1 chunk +179 lines, -0 lines 0 comments Download
M build/SConscript.main View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/SConscript View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M net/SConscript View 1 2 3 4 5 4 chunks +3 lines, -1 line 0 comments Download
M net/base/tcp_client_socket.h View 1 2 3 4 5 6 7 8 4 chunks +53 lines, -18 lines 0 comments Download
A net/base/tcp_client_socket_libevent.cc View 1 2 3 4 5 6 7 8 1 chunk +288 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Elliot Glaysher
Drive by comments by a person who is in no way an expert on sockets ...
12 years, 3 months ago (2008-09-16 18:01:59 UTC) #1
Evan Martin
Some comments from a skim of the code: Style: 80 columns, "// Comments like sentences.", ...
12 years, 3 months ago (2008-09-16 18:16:53 UTC) #2
Mark Mentovai
A few early comments, sorry they're mostly style nits. This is interesting, I want to ...
12 years, 3 months ago (2008-09-16 18:34:17 UTC) #3
Evan Martin
Hopefully this and everyone else will get you going. :) http://codereview.chromium.org/3202/diff/621/403 File base/message_pump_libevent.h (right): http://codereview.chromium.org/3202/diff/621/403#newcode17 ...
12 years, 3 months ago (2008-09-16 18:38:12 UTC) #4
dank
On 2008/09/16 18:38:12, Evan Martin wrote: > http://codereview.chromium.org/3202/diff/621/403#newcode28 > I think "struct" isn't necessary here ...
12 years, 3 months ago (2008-09-16 21:28:58 UTC) #5
Evan Martin
Sorry for commenting so much on style. I promise it'll feel natural soon. :( I ...
12 years, 3 months ago (2008-09-16 22:04:13 UTC) #6
Mark Mentovai
http://codereview.chromium.org/3202/diff/429/648 File base/message_loop.cc (right): http://codereview.chromium.org/3202/diff/429/648#newcode16 Line 16: #if defined(OS_LINUX) I still see a few OS_LINUXes ...
12 years, 3 months ago (2008-09-16 22:07:37 UTC) #7
darin (slow to review)
some comments... http://codereview.chromium.org/3202/diff/429/648 File base/message_loop.cc (right): http://codereview.chromium.org/3202/diff/429/648#newcode17 Line 17: #include "base/message_pump_libevent.h" This new MessagePump can ...
12 years, 3 months ago (2008-09-17 16:12:20 UTC) #8
Evan Martin
This looks pretty good to me. I have only minor style comments. I think I ...
12 years, 3 months ago (2008-09-17 22:52:02 UTC) #9
Evan Martin
12 years, 3 months ago (2008-09-18 00:09:56 UTC) #10
LGTM

Powered by Google App Engine
This is Rietveld 408576698