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

Issue 16549: Add an easy way to do a synchronous connect from test code. (Closed)

Created:
11 years, 11 months ago by dank
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Add an easy way to do a synchronous connect from test code. (As Darin requested in review 16207, I now do this with a helper class rather than by trying to directly support it.) Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=7641

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 3

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -0 lines) Patch
M net/base/tcp_client_socket.h View 1 2 2 chunks +65 lines, -0 lines 1 comment Download
M net/base/tcp_client_socket_unittest.cc View 1 2 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Erik does not do reviews
LGTM http://codereview.chromium.org/16549/diff/205/207 File net/base/tcp_client_socket.h (right): http://codereview.chromium.org/16549/diff/205/207#newcode137 Line 137: class TCPClientSocketSyncConnector I'd probably prefer this to ...
11 years, 11 months ago (2009-01-06 22:28:41 UTC) #1
darin (slow to review)
11 years, 11 months ago (2009-01-08 19:31:09 UTC) #2
http://codereview.chromium.org/16549/diff/214/7
File net/base/tcp_client_socket.h (right):

http://codereview.chromium.org/16549/diff/214/7#newcode138
Line 138: class TCPClientSocketSyncConnector
our convention has been to put testing-only code like this in a separate header
file.  see test_completion_callback.h for instance.  please do something similar
for this class.

Powered by Google App Engine
This is Rietveld 408576698