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

Issue 8572041: Make ClientSocketPoolManager into an interface. (Closed)

Created:
9 years, 1 month ago by willchan no longer on Chromium
Modified:
9 years, 1 month ago
Reviewers:
mmenke
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr.
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Make ClientSocketPoolManager into an interface. This allows for using a MockClientSocketPoolManager. The default implementation has been moved into ClientSocketPoolManagerImpl. This allows HttpNetworkSessionPeer to replace the whole ClientSocketPoolManager rather than individual socket pools, which is necessary because socket pools will become more integrated in the future. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110510

Patch Set 1 #

Patch Set 2 : Merge #

Patch Set 3 : Fix shared build #

Patch Set 4 : Hope this fixes win_shared #

Patch Set 5 : Merge. #

Total comments: 6

Patch Set 6 : Address comments. #

Patch Set 7 : Fix some straggler renames. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+908 lines, -685 lines) Patch
M jingle/notifier/base/proxy_resolving_client_socket.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_network_session.h View 1 2 3 4 5 3 chunks +9 lines, -5 lines 0 comments Download
M net/http/http_network_session.cc View 1 4 chunks +21 lines, -18 lines 0 comments Download
M net/http/http_network_session_peer.h View 2 chunks +3 lines, -19 lines 0 comments Download
M net/http/http_network_session_peer.cc View 1 chunk +3 lines, -43 lines 0 comments Download
M net/http/http_network_transaction_unittest.cc View 1 2 3 4 5 18 chunks +36 lines, -21 lines 0 comments Download
M net/http/http_stream_factory_impl_job.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M net/http/http_stream_factory_impl_unittest.cc View 5 chunks +21 lines, -8 lines 0 comments Download
M net/net.gyp View 1 2 chunks +4 lines, -0 lines 0 comments Download
M net/socket/client_socket_pool_manager.h View 1 2 3 4 3 chunks +75 lines, -185 lines 0 comments Download
M net/socket/client_socket_pool_manager.cc View 1 2 3 4 5 11 chunks +17 lines, -371 lines 0 comments Download
A net/socket/client_socket_pool_manager_impl.h View 1 chunk +152 lines, -0 lines 0 comments Download
A net/socket/client_socket_pool_manager_impl.cc View 1 2 3 4 5 1 chunk +394 lines, -0 lines 0 comments Download
A net/socket/mock_client_socket_pool_manager.h View 1 chunk +64 lines, -0 lines 0 comments Download
A net/socket/mock_client_socket_pool_manager.cc View 1 2 3 4 5 1 chunk +94 lines, -0 lines 0 comments Download
M net/spdy/spdy_http_stream_unittest.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M net/spdy/spdy_proxy_client_socket_unittest.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M net/spdy/spdy_session_unittest.cc View 1 2 3 4 5 7 chunks +7 lines, -7 lines 0 comments Download
M net/spdy/spdy_stream_unittest.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M net/spdy/spdy_websocket_stream_unittest.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M net/websockets/websocket_job_unittest.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
willchan no longer on Chromium
9 years, 1 month ago (2011-11-16 00:44:56 UTC) #1
willchan no longer on Chromium
Shared build is giving me trouble, but I'll fix it tomorrow.
9 years, 1 month ago (2011-11-16 01:05:07 UTC) #2
willchan no longer on Chromium
Great, I've got the shared builds to work now.
9 years, 1 month ago (2011-11-16 15:59:09 UTC) #3
mmenke
LGTM http://codereview.chromium.org/8572041/diff/8001/net/http/http_network_session.h File net/http/http_network_session.h (right): http://codereview.chromium.org/8572041/diff/8001/net/http/http_network_session.h#newcode95 net/http/http_network_session.h:95: TransportClientSocketPool* transport_socket_pool() { nit: These functions should be ...
9 years, 1 month ago (2011-11-16 16:12:03 UTC) #4
willchan no longer on Chromium
http://codereview.chromium.org/8572041/diff/8001/net/http/http_network_session.h File net/http/http_network_session.h (right): http://codereview.chromium.org/8572041/diff/8001/net/http/http_network_session.h#newcode95 net/http/http_network_session.h:95: TransportClientSocketPool* transport_socket_pool() { On 2011/11/16 16:12:03, Matt Menke wrote: ...
9 years, 1 month ago (2011-11-16 17:26:06 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/willchan@chromium.org/8572041/14001
9 years, 1 month ago (2011-11-16 17:28:19 UTC) #6
commit-bot: I haz the power
Try job failure for 8572041-14001 (retry) on linux_rel for step "compile" (clobber build). It's a ...
9 years, 1 month ago (2011-11-16 18:04:38 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/willchan@chromium.org/8572041/18001
9 years, 1 month ago (2011-11-16 19:14:16 UTC) #8
commit-bot: I haz the power
Try job failure for 8572041-18001 (retry) on win_rel for step "ui_tests". It's a second try, ...
9 years, 1 month ago (2011-11-16 20:53:25 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/willchan@chromium.org/8572041/18001
9 years, 1 month ago (2011-11-17 15:45:08 UTC) #10
commit-bot: I haz the power
9 years, 1 month ago (2011-11-17 16:42:05 UTC) #11
Change committed as 110510

Powered by Google App Engine
This is Rietveld 408576698