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

Issue 9958028: Add a new GetNegotiatedProtocol method to StreamSocket and implement in all subclasses. (Closed)

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

Description

Add a new GetNegotiatedProtocol method to StreamSocket and implement in all subclasses. BUG=120890 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=130388

Patch Set 1 #

Patch Set 2 : cleanup #

Total comments: 17

Patch Set 3 : Address wtc's comments #

Patch Set 4 : Fix SSLServerSocketNSS::GetNegotiatedProtocol #

Patch Set 5 : Cleanup #

Patch Set 6 : Fix jingle sockets #

Patch Set 7 : Fix more StreamSocket classe #

Patch Set 8 : Fix win #

Patch Set 9 : Fix win again #

Patch Set 10 : Rebase #

Total comments: 4

Patch Set 11 : Fix sergeyu's comment. #

Patch Set 12 : Fix patch set #

Patch Set 13 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+150 lines, -26 lines) Patch
M content/browser/renderer_host/p2p/socket_host_test_utils.h View 1 2 3 4 5 6 7 8 9 2 chunks +5 lines, -0 lines 0 comments Download
M jingle/glue/pseudotcp_adapter.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -1 line 0 comments Download
M jingle/glue/pseudotcp_adapter.cc View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M jingle/notifier/base/fake_ssl_client_socket.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -1 line 0 comments Download
M jingle/notifier/base/fake_ssl_client_socket.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +5 lines, -1 line 0 comments Download
M jingle/notifier/base/fake_ssl_client_socket_unittest.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M jingle/notifier/base/proxy_resolving_client_socket.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -1 line 0 comments Download
M jingle/notifier/base/proxy_resolving_client_socket.cc View 1 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download
M net/curvecp/curvecp_client_socket.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -1 line 0 comments Download
M net/curvecp/curvecp_client_socket.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +5 lines, -1 line 0 comments Download
M net/http/http_proxy_client_socket.h View 1 chunk +1 line, -0 lines 0 comments Download
M net/http/http_proxy_client_socket.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M net/http/http_proxy_client_socket_pool.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M net/socket/buffered_write_stream_socket.h View 1 chunk +1 line, -0 lines 0 comments Download
M net/socket/buffered_write_stream_socket.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M net/socket/client_socket_pool_base_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +3 lines, -0 lines 0 comments Download
M net/socket/socket_test_util.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M net/socket/socket_test_util.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M net/socket/socks5_client_socket.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -1 line 0 comments Download
M net/socket/socks5_client_socket.cc View 1 2 3 4 5 6 7 8 9 1 chunk +8 lines, -0 lines 0 comments Download
M net/socket/socks_client_socket.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -1 line 0 comments Download
M net/socket/socks_client_socket.cc View 1 2 3 4 5 6 7 8 9 1 chunk +8 lines, -0 lines 0 comments Download
M net/socket/ssl_client_socket.h View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M net/socket/ssl_client_socket.cc View 1 2 4 chunks +6 lines, -4 lines 0 comments Download
M net/socket/ssl_server_socket_nss.h View 1 chunk +1 line, -0 lines 0 comments Download
M net/socket/ssl_server_socket_nss.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M net/socket/ssl_server_socket_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M net/socket/stream_socket.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -0 lines 0 comments Download
M net/socket/tcp_client_socket_libevent.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -1 line 0 comments Download
M net/socket/tcp_client_socket_libevent.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +5 lines, -1 line 0 comments Download
M net/socket/tcp_client_socket_win.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -1 line 0 comments Download
M net/socket/tcp_client_socket_win.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M net/socket/transport_client_socket_pool_unittest.cc View 3 chunks +9 lines, -0 lines 0 comments Download
M net/spdy/spdy_proxy_client_socket.h View 1 chunk +1 line, -0 lines 0 comments Download
M net/spdy/spdy_proxy_client_socket.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M net/spdy/spdy_session.cc View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +4 lines, -4 lines 0 comments Download
M remoting/jingle_glue/ssl_socket_adapter.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -1 line 0 comments Download
M remoting/jingle_glue/ssl_socket_adapter.cc View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M remoting/protocol/fake_session.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M remoting/protocol/fake_session.cc View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M remoting/protocol/pepper_transport_socket_adapter.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -1 line 0 comments Download
M remoting/protocol/pepper_transport_socket_adapter.cc View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
Ryan Hamilton
wtc: as we discussed, here is the second CL which adds a new GetNegotiatedProtocol method ...
8 years, 8 months ago (2012-03-30 19:29:53 UTC) #1
wtc
Patch set 2 LGTM. Note the bug in ssl_server_socket_nss.*. We should remove the redundant SSLClientSocket::protocol_negotiated() ...
8 years, 8 months ago (2012-03-30 21:19:14 UTC) #2
wtc
http://codereview.chromium.org/9958028/diff/23/net/socket/ssl_server_socket_nss.h File net/socket/ssl_server_socket_nss.h (right): http://codereview.chromium.org/9958028/diff/23/net/socket/ssl_server_socket_nss.h#newcode64 net/socket/ssl_server_socket_nss.h:64: virtual NextProto GetNegotiatedProtocol() const OVERRIDE; On 2012/03/30 21:19:14, wtc ...
8 years, 8 months ago (2012-03-30 21:50:08 UTC) #3
Ryan Hamilton
Thanks for the super quick review! http://codereview.chromium.org/9958028/diff/23/net/socket/socks5_client_socket.cc File net/socket/socks5_client_socket.cc (right): http://codereview.chromium.org/9958028/diff/23/net/socket/socks5_client_socket.cc#newcode164 net/socket/socks5_client_socket.cc:164: On 2012/03/30 21:19:14, ...
8 years, 8 months ago (2012-03-30 21:53:16 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/9958028/7003
8 years, 8 months ago (2012-03-30 21:56:47 UTC) #5
commit-bot: I haz the power
Can't apply patch for file net/socket/socket_test_util.cc. While running patch -p1 --forward --force; patching file net/socket/socket_test_util.cc ...
8 years, 8 months ago (2012-03-30 21:56:55 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/9958028/7003
8 years, 8 months ago (2012-03-31 04:11:30 UTC) #7
commit-bot: I haz the power
Can't apply patch for file net/socket/socket_test_util.cc. While running patch -p1 --forward --force; patching file net/socket/socket_test_util.cc ...
8 years, 8 months ago (2012-03-31 04:16:52 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/9958028/7003
8 years, 8 months ago (2012-03-31 15:34:09 UTC) #9
commit-bot: I haz the power
Try job failure for 9958028-7003 (retry) on android for steps "Compile, build". It's a second ...
8 years, 8 months ago (2012-03-31 15:43:49 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/9958028/1137
8 years, 8 months ago (2012-03-31 16:28:51 UTC) #11
commit-bot: I haz the power
Try job failure for 9958028-1137 (retry) on linux_chromeos for step "compile" (clobber build). It's a ...
8 years, 8 months ago (2012-03-31 16:47:24 UTC) #12
Ryan Hamilton
hclam: this CL ended up touch a few files outside of net/ Can you take ...
8 years, 8 months ago (2012-04-01 04:31:14 UTC) #13
Ryan Hamilton
8 years, 8 months ago (2012-04-02 18:08:16 UTC) #14
Sergey Ulanov
LGTM, but see my comments. I think it's better to avoid adding more stuff of ...
8 years, 8 months ago (2012-04-02 18:20:22 UTC) #15
Ryan Hamilton
Thanks for the quick review. http://codereview.chromium.org/9958028/diff/7099/net/socket/stream_socket.h File net/socket/stream_socket.h (right): http://codereview.chromium.org/9958028/diff/7099/net/socket/stream_socket.h#newcode90 net/socket/stream_socket.h:90: // Returns the protocol ...
8 years, 8 months ago (2012-04-02 20:57:32 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/9958028/6063
8 years, 8 months ago (2012-04-02 21:00:02 UTC) #17
commit-bot: I haz the power
Try job failure for 9958028-6063 (retry) on win_rel for step "browser_tests" (clobber build). It's a ...
8 years, 8 months ago (2012-04-02 23:47:15 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/9958028/6063
8 years, 8 months ago (2012-04-03 01:35:35 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/9958028/6063
8 years, 8 months ago (2012-04-03 03:15:17 UTC) #20
commit-bot: I haz the power
Try job failure for 9958028-6063 (retry) on win_rel for step "browser_tests". It's a second try, ...
8 years, 8 months ago (2012-04-03 06:06:58 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/9958028/6063
8 years, 8 months ago (2012-04-03 06:34:28 UTC) #22
commit-bot: I haz the power
8 years, 8 months ago (2012-04-03 09:34:03 UTC) #23
Try job failure for 9958028-6063 (retry) on win_rel for step "browser_tests".
It's a second try, previously, steps "ui_tests, browser_tests" failed.
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&nu...

Powered by Google App Engine
This is Rietveld 408576698