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

Issue 149545: Refactoring needed before adding good unit tests for limiting total socket count. (Closed)

Created:
11 years, 5 months ago by Paweł Hajdan Jr.
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Refactoring needed before adding good unit tests for limiting total socket count. TEST=Covered by net_unittests. http://crbug.com/15093 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=20623

Patch Set 1 #

Total comments: 4

Patch Set 2 : fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+162 lines, -119 lines) Patch
M net/socket/client_socket_pool_base.h View 1 chunk +4 lines, -0 lines 0 comments Download
M net/socket/client_socket_pool_base_unittest.cc View 1 18 chunks +158 lines, -119 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Paweł Hajdan Jr.
11 years, 5 months ago (2009-07-13 17:38:26 UTC) #1
eroman
LGTM. I like this refactor! I find it easier to read than the earlier data-driven ...
11 years, 5 months ago (2009-07-14 00:11:03 UTC) #2
Paweł Hajdan Jr.
On 2009/07/14 00:11:03, eroman wrote: > http://codereview.chromium.org/149545/diff/1/3#newcode296 > Line 296: int CreateRequest(const std::string& group_name, int ...
11 years, 5 months ago (2009-07-14 00:48:59 UTC) #3
eroman
11 years, 5 months ago (2009-07-14 01:22:33 UTC) #4
LGTM

http://codereview.chromium.org/149545/diff/1/3
File net/socket/client_socket_pool_base_unittest.cc (right):

http://codereview.chromium.org/149545/diff/1/3#newcode311
Line 311: return -2;
On 2009/07/14 00:11:03, eroman wrote:
> Maybe these two magic values can be wrapped in an enum.

sounds good to me.

Powered by Google App Engine
This is Rietveld 408576698