Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(230)

Issue 3328009: Add missing nested socket pools to socket pool info page. (Closed)

Created:
10 years, 3 months ago by mmenke
Modified:
9 years, 7 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, arv (Not doing code reviews), darin-cc_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Add missing nested socket pools to socket pool info page. Each socket pool should be displayed once and only once. Also, if more than one proxy is in use, socket pools with the same proxy will appear adjacent to each other. BUG=39756 TEST=manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=58826

Patch Set 1 : '' #

Patch Set 2 : '' #

Total comments: 3

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+181 lines, -44 lines) Patch
M chrome/browser/resources/net_internals/main.css View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/resources/net_internals/socketsview.js View 1 2 3 4 2 chunks +48 lines, -9 lines 0 comments Download
M net/http/http_network_session.cc View 1 2 3 4 2 chunks +20 lines, -7 lines 0 comments Download
M net/http/http_proxy_client_socket_pool.h View 1 2 3 4 2 chunks +5 lines, -4 lines 0 comments Download
M net/http/http_proxy_client_socket_pool.cc View 1 2 3 4 3 chunks +26 lines, -1 line 0 comments Download
M net/socket/client_socket_pool.h View 1 2 3 4 2 chunks +8 lines, -5 lines 0 comments Download
M net/socket/client_socket_pool_base.h View 1 2 3 4 2 chunks +4 lines, -3 lines 0 comments Download
M net/socket/client_socket_pool_base.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M net/socket/client_socket_pool_base_unittest.cc View 6 1 chunk +3 lines, -2 lines 0 comments Download
M net/socket/socks_client_socket_pool.h View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M net/socket/socks_client_socket_pool.cc View 1 2 3 4 3 chunks +18 lines, -1 line 0 comments Download
M net/socket/ssl_client_socket_pool.h View 1 2 3 4 2 chunks +6 lines, -4 lines 0 comments Download
M net/socket/ssl_client_socket_pool.cc View 1 2 3 4 3 chunks +32 lines, -1 line 0 comments Download
M net/socket/tcp_client_socket_pool.h View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
mmenke
10 years, 3 months ago (2010-09-03 18:05:31 UTC) #1
eroman
LGTM, Could you have vandebo could take a look as well? There have been some ...
10 years, 3 months ago (2010-09-03 21:39:46 UTC) #2
mmenke
On 2010/09/03 21:39:46, eroman wrote: > LGTM, > > Could you have vandebo could take ...
10 years, 3 months ago (2010-09-07 14:24:26 UTC) #3
vandebo (ex-Chrome)
LGTM with respect to pool references. On 2010/09/03 21:39:46, eroman wrote: > Could you have ...
10 years, 3 months ago (2010-09-07 19:57:41 UTC) #4
mmenke
10 years, 3 months ago (2010-09-07 20:51:38 UTC) #5
On 2010/09/07 19:57:41, vandebo wrote:
> LGTM with respect to pool references.
> 
> On 2010/09/03 21:39:46, eroman wrote:
> > Could you have vandebo could take a look as well? There have been some
subtle
> > issues surrounding destruction ordering of pools/sockets, and I am not sure
if
> > holding additional references here will cause problems.
> 
> The additional references shouldn't change anything.  The ConnectJobFactories
> hold references to subordinate pools, and the factories are referenced from
> ClientSocketPoolBase.  So by adding subordinate pool references to the pool
> classes, you're just holding two references (at two different abstraction
> levels) instead of one in the same class.
> 
> http://codereview.chromium.org/3328009/diff/13002/3006
> File net/http/http_proxy_client_socket_pool.h (right):
> 
> http://codereview.chromium.org/3328009/diff/13002/3006#newcode223
> net/http/http_proxy_client_socket_pool.h:223: const
> scoped_refptr<TCPClientSocketPool> tcp_pool_;
> These need to go before base_, or the constructor needs to be changed. (same
in
> socks and ssl)

Thanks.  I'll keep it as-is, then (With the nits taken care of, of course). 
Getting the factory back out from the ConnectJobFactoryAdaptor is just a bit too
messy for my tastes.

Powered by Google App Engine
This is Rietveld 408576698