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

Issue 8801005: base::Bind: Convert Socket::Read. (Closed)

Created:
9 years ago by James Hawkins
Modified:
9 years ago
Reviewers:
csilv
CC:
chromium-reviews, jamiewalch+watch_chromium.org, garykac+watch_chromium.org, cbentzel+watch_chromium.org, simonmorris+watch_chromium.org, nkostylev+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, jam, dpranke-watch+content_chromium.org, joi+watch-content_chromium.org, lambroslambrou+watch_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr., sergeyu+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

base::Bind: Convert Socket::Read. BUG=none TEST=none R=csilv

Patch Set 1 #

Total comments: 40

Patch Set 2 : Logic fix. #

Patch Set 3 : Rebase. #

Total comments: 14

Patch Set 4 : Win build fix, mac build fix, self-review fixes. #

Patch Set 5 : Review fixes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1318 lines, -243 lines) Patch
M chrome/browser/chromeos/web_socket_proxy.cc View 1 2 3 4 chunks +9 lines, -7 lines 0 comments Download
M content/browser/renderer_host/p2p/socket_host_test_utils.h View 2 4 chunks +32 lines, -6 lines 0 comments Download
M jingle/glue/channel_socket_adapter.h View 1 2 3 3 chunks +6 lines, -2 lines 0 comments Download
M jingle/glue/channel_socket_adapter.cc View 1 5 chunks +41 lines, -11 lines 0 comments Download
M jingle/glue/pseudotcp_adapter.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M jingle/glue/pseudotcp_adapter.cc View 2 9 chunks +55 lines, -12 lines 0 comments Download
M jingle/glue/pseudotcp_adapter_unittest.cc View 1 2 3 5 chunks +37 lines, -9 lines 0 comments Download
M jingle/notifier/base/fake_ssl_client_socket.h View 2 1 chunk +2 lines, -0 lines 0 comments Download
M jingle/notifier/base/fake_ssl_client_socket.cc View 2 1 chunk +7 lines, -1 line 0 comments Download
M jingle/notifier/base/fake_ssl_client_socket_unittest.cc View 2 1 chunk +2 lines, -0 lines 0 comments Download
M jingle/notifier/base/proxy_resolving_client_socket.h View 2 1 chunk +2 lines, -0 lines 0 comments Download
M jingle/notifier/base/proxy_resolving_client_socket.cc View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M net/curvecp/curvecp_client_socket.h View 2 1 chunk +4 lines, -1 line 0 comments Download
M net/curvecp/curvecp_client_socket.cc View 2 1 chunk +5 lines, -0 lines 0 comments Download
M net/curvecp/curvecp_server_socket.h View 1 chunk +5 lines, -2 lines 0 comments Download
M net/curvecp/curvecp_server_socket.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M net/curvecp/messenger.h View 2 chunks +4 lines, -2 lines 0 comments Download
M net/curvecp/messenger.cc View 1 2 3 4 3 chunks +32 lines, -6 lines 0 comments Download
M net/http/http_proxy_client_socket.h View 2 2 chunks +5 lines, -2 lines 0 comments Download
M net/http/http_proxy_client_socket.cc View 1 2 3 4 1 chunk +20 lines, -1 line 0 comments Download
M net/socket/client_socket_pool_base_unittest.cc View 2 3 chunks +8 lines, -4 lines 0 comments Download
M net/socket/socket.h View 1 chunk +2 lines, -0 lines 0 comments Download
M net/socket/socket_test_util.h View 1 2 3 9 chunks +26 lines, -9 lines 0 comments Download
M net/socket/socket_test_util.cc View 1 2 3 18 chunks +150 lines, -23 lines 0 comments Download
M net/socket/socks5_client_socket.h View 2 2 chunks +5 lines, -2 lines 0 comments Download
M net/socket/socks5_client_socket.cc View 1 2 3 4 1 chunk +9 lines, -1 line 0 comments Download
M net/socket/socks_client_socket.h View 2 2 chunks +5 lines, -2 lines 0 comments Download
M net/socket/socks_client_socket.cc View 1 2 3 4 1 chunk +9 lines, -1 line 0 comments Download
M net/socket/ssl_client_socket_mac.h View 1 2 2 chunks +5 lines, -1 line 0 comments Download
M net/socket/ssl_client_socket_mac.cc View 1 2 3 chunks +34 lines, -8 lines 0 comments Download
M net/socket/ssl_client_socket_nss.h View 1 2 2 chunks +5 lines, -1 line 0 comments Download
M net/socket/ssl_client_socket_nss.cc View 1 2 3 4 7 chunks +47 lines, -14 lines 0 comments Download
M net/socket/ssl_client_socket_openssl.h View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M net/socket/ssl_client_socket_openssl.cc View 1 2 3 4 4 chunks +33 lines, -7 lines 0 comments Download
M net/socket/ssl_client_socket_win.h View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M net/socket/ssl_client_socket_win.cc View 1 2 5 chunks +71 lines, -14 lines 0 comments Download
M net/socket/ssl_server_socket_nss.h View 2 2 chunks +4 lines, -1 line 0 comments Download
M net/socket/ssl_server_socket_nss.cc View 1 2 3 4 3 chunks +38 lines, -8 lines 0 comments Download
M net/socket/ssl_server_socket_unittest.cc View 2 5 chunks +33 lines, -8 lines 0 comments Download
M net/socket/tcp_client_socket_libevent.h View 1 2 3 chunks +6 lines, -2 lines 0 comments Download
M net/socket/tcp_client_socket_libevent.cc View 1 2 4 chunks +51 lines, -6 lines 0 comments Download
M net/socket/tcp_client_socket_win.h View 2 1 chunk +2 lines, -0 lines 0 comments Download
M net/socket/tcp_client_socket_win.cc View 1 2 3 4 1 chunk +41 lines, -0 lines 0 comments Download
M net/socket/transport_client_socket_pool_unittest.cc View 2 3 chunks +15 lines, -3 lines 0 comments Download
M net/socket/web_socket_server_socket.cc View 8 chunks +114 lines, -14 lines 0 comments Download
M net/socket/web_socket_server_socket_unittest.cc View 4 chunks +45 lines, -7 lines 0 comments Download
M net/spdy/spdy_proxy_client_socket.h View 2 3 chunks +6 lines, -3 lines 0 comments Download
M net/spdy/spdy_proxy_client_socket.cc View 2 1 chunk +24 lines, -0 lines 0 comments Download
M net/udp/udp_client_socket.h View 1 chunk +3 lines, -1 line 0 comments Download
M net/udp/udp_client_socket.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M net/udp/udp_socket_libevent.h View 1 2 3 4 4 chunks +8 lines, -2 lines 0 comments Download
M net/udp/udp_socket_libevent.cc View 6 chunks +50 lines, -8 lines 0 comments Download
M net/udp/udp_socket_win.h View 1 2 3 3 chunks +7 lines, -1 line 0 comments Download
M net/udp/udp_socket_win.cc View 1 2 3 6 chunks +39 lines, -7 lines 0 comments Download
M remoting/jingle_glue/ssl_socket_adapter.h View 2 2 chunks +5 lines, -3 lines 0 comments Download
M remoting/jingle_glue/ssl_socket_adapter.cc View 2 5 chunks +30 lines, -6 lines 0 comments Download
M remoting/protocol/fake_session.h View 1 2 3 5 chunks +9 lines, -2 lines 0 comments Download
M remoting/protocol/fake_session.cc View 2 5 chunks +43 lines, -2 lines 0 comments Download
M remoting/protocol/pepper_transport_socket_adapter.h View 1 2 3 3 chunks +5 lines, -1 line 0 comments Download
M remoting/protocol/pepper_transport_socket_adapter.cc View 1 2 3 chunks +36 lines, -7 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
James Hawkins
9 years ago (2011-12-05 06:45:29 UTC) #1
James Hawkins
http://codereview.chromium.org/8801005/diff/1/jingle/glue/channel_socket_adapter.cc File jingle/glue/channel_socket_adapter.cc (right): http://codereview.chromium.org/8801005/diff/1/jingle/glue/channel_socket_adapter.cc#newcode137 jingle/glue/channel_socket_adapter.cc:137: } else if (read_callback_.is_null()) { This should be else ...
9 years ago (2011-12-06 23:44:21 UTC) #2
James Hawkins
http://codereview.chromium.org/8801005/diff/1/jingle/glue/channel_socket_adapter.cc File jingle/glue/channel_socket_adapter.cc (right): http://codereview.chromium.org/8801005/diff/1/jingle/glue/channel_socket_adapter.cc#newcode137 jingle/glue/channel_socket_adapter.cc:137: } else if (read_callback_.is_null()) { On 2011/12/06 23:44:23, James ...
9 years ago (2011-12-06 23:45:04 UTC) #3
James Hawkins
http://codereview.chromium.org/8801005/diff/4050/chrome/browser/chromeos/web_socket_proxy.cc File chrome/browser/chromeos/web_socket_proxy.cc (right): http://codereview.chromium.org/8801005/diff/4050/chrome/browser/chromeos/web_socket_proxy.cc#newcode799 chrome/browser/chromeos/web_socket_proxy.cc:799: net::CompletionCallback socket_connect_callback_; #include "net/base/completion_callback.h" http://codereview.chromium.org/8801005/diff/4050/jingle/glue/channel_socket_adapter.h File jingle/glue/channel_socket_adapter.h (right): http://codereview.chromium.org/8801005/diff/4050/jingle/glue/channel_socket_adapter.h#newcode58 ...
9 years ago (2011-12-07 00:01:57 UTC) #4
csilv
http://codereview.chromium.org/8801005/diff/1/jingle/glue/channel_socket_adapter.cc File jingle/glue/channel_socket_adapter.cc (right): http://codereview.chromium.org/8801005/diff/1/jingle/glue/channel_socket_adapter.cc#newcode42 jingle/glue/channel_socket_adapter.cc:42: CHECK(!old_read_callback_); make same as line 61 http://codereview.chromium.org/8801005/diff/1/jingle/glue/channel_socket_adapter.cc#newcode61 jingle/glue/channel_socket_adapter.cc:61: CHECK(!old_read_callback_ ...
9 years ago (2011-12-07 00:03:47 UTC) #5
csilv
http://codereview.chromium.org/8801005/diff/1/jingle/glue/channel_socket_adapter.cc File jingle/glue/channel_socket_adapter.cc (right): http://codereview.chromium.org/8801005/diff/1/jingle/glue/channel_socket_adapter.cc#newcode61 jingle/glue/channel_socket_adapter.cc:61: CHECK(!old_read_callback_ && read_callback_.is_null()); On 2011/12/07 00:03:48, csilv wrote: > ...
9 years ago (2011-12-07 00:06:42 UTC) #6
James Hawkins
http://codereview.chromium.org/8801005/diff/4050/chrome/browser/chromeos/web_socket_proxy.cc File chrome/browser/chromeos/web_socket_proxy.cc (right): http://codereview.chromium.org/8801005/diff/4050/chrome/browser/chromeos/web_socket_proxy.cc#newcode799 chrome/browser/chromeos/web_socket_proxy.cc:799: net::CompletionCallback socket_connect_callback_; On 2011/12/07 00:01:57, James Hawkins wrote: > ...
9 years ago (2011-12-07 00:08:11 UTC) #7
James Hawkins
http://codereview.chromium.org/8801005/diff/1/jingle/glue/channel_socket_adapter.cc File jingle/glue/channel_socket_adapter.cc (right): http://codereview.chromium.org/8801005/diff/1/jingle/glue/channel_socket_adapter.cc#newcode42 jingle/glue/channel_socket_adapter.cc:42: CHECK(!old_read_callback_); On 2011/12/07 00:03:48, csilv wrote: > make same ...
9 years ago (2011-12-07 00:19:36 UTC) #8
csilv
9 years ago (2011-12-07 00:53:54 UTC) #9
lgtm

Powered by Google App Engine
This is Rietveld 408576698