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

Issue 11528012: [net] Make IPEndPoint::GetFamily() return AddressFamily and add GetSockAddrFamily() to be used when… (Closed)

Created:
8 years ago by szym
Modified:
8 years ago
Reviewers:
eroman, akalin
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

[net] Make IPEndPoint::GetFamily() return AddressFamily and add GetSockAddrFamily() to be used when creating sockets. BUG=126002 TEST=browse anywhere Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=172768

Patch Set 1 #

Patch Set 2 : use net:: from jingle #

Patch Set 3 : fix AddressListTest #

Total comments: 2

Patch Set 4 : update uses of GetFamily in net/dns/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -42 lines) Patch
M jingle/glue/utils.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M net/base/address_list_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M net/base/ip_endpoint.h View 2 chunks +6 lines, -2 lines 0 comments Download
M net/base/ip_endpoint.cc View 1 chunk +13 lines, -1 line 0 comments Download
M net/dns/address_sorter_win.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M net/dns/dns_config_service_win.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M net/ftp/ftp_network_transaction.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/socket/socks_client_socket.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/socket/tcp_client_socket_libevent.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M net/socket/tcp_client_socket_win.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M net/socket/tcp_server_socket_libevent.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/socket/tcp_server_socket_win.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/socket/transport_client_socket_pool.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M net/socket/transport_client_socket_pool_unittest.cc View 7 chunks +18 lines, -18 lines 0 comments Download
M net/udp/udp_socket_libevent.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/udp/udp_socket_win.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
szym
Picking up this old bug. PTAL, but if you think it's not worth it, I'll ...
8 years ago (2012-12-12 21:05:42 UTC) #1
eroman
lgtm https://codereview.chromium.org/11528012/diff/6002/net/socket/tcp_client_socket_libevent.cc File net/socket/tcp_client_socket_libevent.cc (right): https://codereview.chromium.org/11528012/diff/6002/net/socket/tcp_client_socket_libevent.cc#newcode184 net/socket/tcp_client_socket_libevent.cc:184: int error = CreateSocket(address.GetSockAddrFamily(), &bound_socket_); What process did ...
8 years ago (2012-12-12 21:19:49 UTC) #2
szym
https://codereview.chromium.org/11528012/diff/6002/net/socket/tcp_client_socket_libevent.cc File net/socket/tcp_client_socket_libevent.cc (right): https://codereview.chromium.org/11528012/diff/6002/net/socket/tcp_client_socket_libevent.cc#newcode184 net/socket/tcp_client_socket_libevent.cc:184: int error = CreateSocket(address.GetSockAddrFamily(), &bound_socket_); On 2012/12/12 21:19:49, eroman ...
8 years ago (2012-12-12 22:47:53 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/11528012/11001
8 years ago (2012-12-12 22:52:59 UTC) #4
commit-bot: I haz the power
Presubmit check for 11528012-11001 failed and returned exit status 1. Running presubmit commit checks ...
8 years ago (2012-12-12 22:53:07 UTC) #5
szym
akalin: PTAL change in jingle/
8 years ago (2012-12-12 22:54:52 UTC) #6
akalin
jingle LGTM
8 years ago (2012-12-12 22:59:10 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/11528012/11001
8 years ago (2012-12-12 23:01:24 UTC) #8
commit-bot: I haz the power
8 years ago (2012-12-13 01:46:46 UTC) #9
Message was sent while issue was closed.
Change committed as 172768

Powered by Google App Engine
This is Rietveld 408576698