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

Issue 9419032: Modify the MockConnect constructor to take an enum of ASYNC or SYNC, instead (Closed)

Created:
8 years, 10 months ago by Ryan Hamilton
Modified:
8 years, 10 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Modify the MockConnect constructor to take an enum of ASYNC or SYNCHRONOUS, instead of a boolean async. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=122581

Patch Set 1 : use SYNCHRONOUS instead of SYNC #

Patch Set 2 : Fix jingle #

Patch Set 3 : Fix jingle #

Patch Set 4 : Fix jingle #

Patch Set 5 : Fix Test Break #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -73 lines) Patch
M jingle/notifier/base/chrome_async_socket_unittest.cc View 6 chunks +6 lines, -6 lines 0 comments Download
M jingle/notifier/base/fake_ssl_client_socket_unittest.cc View 1 2 chunks +4 lines, -2 lines 2 comments Download
M jingle/notifier/base/proxy_resolving_client_socket_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M net/http/http_network_transaction_unittest.cc View 12 chunks +12 lines, -12 lines 0 comments Download
M net/http/http_pipelined_connection_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_pipelined_network_transaction_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_proxy_client_socket_pool_unittest.cc View 1 2 3 4 11 chunks +12 lines, -12 lines 2 comments Download
M net/http/http_stream_factory_impl_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M net/socket/deterministic_socket_data_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/socket/socket_test_util.h View 1 chunk +6 lines, -1 line 0 comments Download
M net/socket/socket_test_util.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/socket/socks_client_socket_pool_unittest.cc View 6 chunks +8 lines, -7 lines 0 comments Download
M net/socket/ssl_client_socket_pool_unittest.cc View 9 chunks +9 lines, -9 lines 0 comments Download
M net/spdy/spdy_network_transaction_unittest.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M net/spdy/spdy_proxy_client_socket_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/spdy/spdy_session_unittest.cc View 9 chunks +9 lines, -9 lines 0 comments Download
M net/spdy/spdy_stream_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/websockets/websocket_job_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
Ryan Hamilton
Jim, can you take a look at this and let me know what you think? ...
8 years, 10 months ago (2012-02-17 03:41:37 UTC) #1
jar (doing other things)
LGTM Nice cleanup and readability improvement IMO ;-). Thanks! https://chromiumcodereview.appspot.com/9419032/diff/2079/net/http/http_proxy_client_socket_pool_unittest.cc File net/http/http_proxy_client_socket_pool_unittest.cc (right): https://chromiumcodereview.appspot.com/9419032/diff/2079/net/http/http_proxy_client_socket_pool_unittest.cc#newcode166 net/http/http_proxy_client_socket_pool_unittest.cc:166: ...
8 years, 10 months ago (2012-02-17 17:19:16 UTC) #2
Ryan Hamilton
akalin: can you look at the jingle changes? (this should be a fast review) http://codereview.chromium.org/9419032/diff/2079/net/http/http_proxy_client_socket_pool_unittest.cc ...
8 years, 10 months ago (2012-02-17 17:33:56 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/9419032/2079
8 years, 10 months ago (2012-02-17 19:31:06 UTC) #4
akalin
LGTM http://codereview.chromium.org/9419032/diff/2079/jingle/notifier/base/fake_ssl_client_socket_unittest.cc File jingle/notifier/base/fake_ssl_client_socket_unittest.cc (right): http://codereview.chromium.org/9419032/diff/2079/jingle/notifier/base/fake_ssl_client_socket_unittest.cc#newcode134 jingle/notifier/base/fake_ssl_client_socket_unittest.cc:134: net::MockConnect mock_connect(async ? net::ASYNC : net::SYNCHRONOUS, ideally you'd ...
8 years, 10 months ago (2012-02-17 19:46:48 UTC) #5
Ryan Hamilton
Thanks for the LGTM! http://codereview.chromium.org/9419032/diff/2079/jingle/notifier/base/fake_ssl_client_socket_unittest.cc File jingle/notifier/base/fake_ssl_client_socket_unittest.cc (right): http://codereview.chromium.org/9419032/diff/2079/jingle/notifier/base/fake_ssl_client_socket_unittest.cc#newcode134 jingle/notifier/base/fake_ssl_client_socket_unittest.cc:134: net::MockConnect mock_connect(async ? net::ASYNC : ...
8 years, 10 months ago (2012-02-17 19:58:09 UTC) #6
commit-bot: I haz the power
8 years, 10 months ago (2012-02-17 21:02:37 UTC) #7
Change committed as 122581

Powered by Google App Engine
This is Rietveld 408576698