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

Issue 1565303002: Change IPEndpoint::address() to return a net::IPAddress (Closed)

Created:
4 years, 11 months ago by martijnc
Modified:
4 years, 10 months ago
CC:
Aaron Boodman, abarth-chromium, avayvod+watch_chromium.org, ben+mojo_chromium.org, cbentzel+watch_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, chromoting-reviews_chromium.org, darin (slow to review), darin-cc_chromium.org, extensions-reviews_chromium.org, feature-media-reviews_chromium.org, gavinp+disk_chromium.org, hashimoto+watch_chromium.org, imcheng+watch_chromium.org, isheriff+watch_chromium.org, jam, jasonroberts+watch_google.com, miu+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, oshima+watch_chromium.org, Paweł Hajdan Jr., qsr+mojo_chromium.org, samuong+watch_chromium.org, scheib+watch_chromium.org, viettrungluu+watch_chromium.org, xjz+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Change IPEndpoint::address() to return a net::IPAddress This CL is part of the net::IPAddressNumber migration[1]. IPEndpoint::address() currently returns a net::IPAddressNumber but we need it to return a net::IPAddress. BUG=496258 TBR=scheib [1] https://code.google.com/p/chromium/issues/detail?id=496258#c10 Committed: https://crrev.com/98acb9b5250fac2902aff41afa71496da5cf26cd Cr-Commit-Position: refs/heads/master@{#371750}

Patch Set 1 : Fix Android #

Total comments: 4

Patch Set 2 : Feedback eroman #

Total comments: 21

Patch Set 3 : Comments eroman #

Patch Set 4 : rebase #

Total comments: 3

Patch Set 5 : rebase #

Patch Set 6 : rebase #

Patch Set 7 : rebase for ChromeOS #

Unified diffs Side-by-side diffs Delta from patch set Stats (+169 lines, -155 lines) Patch
M chrome/browser/local_discovery/service_discovery_client_mac.mm View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/printing/cloud_print/privet_traffic_detector.cc View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/test/chromedriver/net/websocket.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/p2p/socket_dispatcher_host.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/pepper/pepper_host_resolver_message_filter.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/pepper/pepper_socket_utils.cc View 1 2 3 4 5 6 1 chunk +3 lines, -2 lines 0 comments Download
M content/browser/renderer_host/pepper/pepper_tcp_server_socket_message_filter.cc View 1 2 chunks +3 lines, -5 lines 0 comments Download
M content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc View 1 3 chunks +5 lines, -10 lines 0 comments Download
M content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M device/bluetooth/bluetooth_socket_win.cc View 1 2 1 chunk +5 lines, -7 lines 0 comments Download
M extensions/browser/api/cast_channel/logger.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M media/cast/net/udp_transport.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M mojo/services/network/net_address_type_converters.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M net/base/address_list_unittest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M net/base/ip_address.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M net/base/ip_address.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M net/base/ip_endpoint.h View 1 4 chunks +3 lines, -5 lines 0 comments Download
M net/base/ip_endpoint.cc View 1 2 5 chunks +7 lines, -8 lines 0 comments Download
M net/base/ip_endpoint_unittest.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M net/base/network_interfaces_mac.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M net/base/network_interfaces_win.cc View 1 2 chunks +10 lines, -8 lines 0 comments Download
M net/dns/address_sorter_posix.cc View 1 2 4 chunks +9 lines, -9 lines 0 comments Download
M net/dns/address_sorter_posix_unittest.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M net/dns/address_sorter_win.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download
M net/dns/dns_config_service.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M net/dns/dns_config_service_posix.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M net/dns/dns_config_service_win.cc View 1 2 2 chunks +5 lines, -3 lines 0 comments Download
M net/dns/host_resolver_impl.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M net/dns/mdns_client.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M net/dns/mojo_host_type_converters.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M net/quic/crypto/crypto_server_test.cc View 1 4 chunks +6 lines, -6 lines 0 comments Download
M net/quic/crypto/quic_crypto_server_config.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M net/quic/quic_address_mismatch.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M net/quic/quic_connection.cc View 1 2 3 4 5 4 chunks +4 lines, -4 lines 0 comments Download
M net/quic/quic_connection_logger.cc View 1 2 3 4 5 2 chunks +5 lines, -4 lines 0 comments Download
M net/quic/quic_crypto_server_stream.cc View 1 2 3 4 5 3 chunks +7 lines, -6 lines 0 comments Download
M net/quic/quic_framer_test.cc View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M net/quic/quic_socket_address_coder.h View 1 1 chunk +1 line, -1 line 0 comments Download
M net/quic/quic_socket_address_coder.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M net/quic/quic_stream_factory.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M net/socket/socks_client_socket.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M net/socket/tcp_client_socket_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M net/tools/quic/end_to_end_test.cc View 1 2 3 4 5 9 chunks +14 lines, -10 lines 0 comments Download
M net/tools/quic/quic_client_bin.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M net/tools/quic/quic_simple_client_bin.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M net/tools/quic/quic_time_wait_list_manager.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M net/tools/quic/quic_time_wait_list_manager_test.cc View 1 2 3 8 chunks +23 lines, -19 lines 0 comments Download
M remoting/host/ipc_host_event_logger.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 49 (26 generated)
martijnc
eroman: can you take a look at net/*? Thanks! This patch only renames the method ...
4 years, 11 months ago (2016-01-08 18:47:13 UTC) #4
mmenke
On 2016/01/08 18:47:13, martijnc wrote: > eroman: can you take a look at net/*? Thanks! ...
4 years, 11 months ago (2016-01-12 22:52:02 UTC) #6
eroman
lgtm https://codereview.chromium.org/1565303002/diff/40001/content/browser/renderer_host/pepper/pepper_socket_utils.cc File content/browser/renderer_host/pepper/pepper_socket_utils.cc (right): https://codereview.chromium.org/1565303002/diff/40001/content/browser/renderer_host/pepper/pepper_socket_utils.cc#newcode184 content/browser/renderer_host/pepper/pepper_socket_utils.cc:184: if (isLoopbackAddress(address.address_number())) { (aside) Looks like these existing ...
4 years, 11 months ago (2016-01-13 00:27:58 UTC) #8
eroman
Ooops I hit the wrong button, didn't mean to LGTM yet! Here are my high ...
4 years, 11 months ago (2016-01-13 00:28:42 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1565303002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1565303002/40001
4 years, 11 months ago (2016-01-13 00:29:41 UTC) #10
martijnc
Thank you very much for your feedback! I've updated the CL to: * make IPEndpoint::address() ...
4 years, 11 months ago (2016-01-13 22:49:31 UTC) #18
eroman
lgtm https://codereview.chromium.org/1565303002/diff/160001/content/renderer/p2p/ipc_socket_factory.cc File content/renderer/p2p/ipc_socket_factory.cc (right): https://codereview.chromium.org/1565303002/diff/160001/content/renderer/p2p/ipc_socket_factory.cc#newcode567 content/renderer/p2p/ipc_socket_factory.cc:567: jingle_glue::IPEndPointToSocketAddress(remote_address, Consider remove this edit, since it is ...
4 years, 11 months ago (2016-01-13 23:19:42 UTC) #19
martijnc
Thank you for the review. +jochen@chromium.org for chrome\* and content\* +ben@chromium.org for device\bluetooth\bluetooth_socket_win.cc extensions\browser\api\cast_channel\logger.cc media\cast\net\udp_transport.cc ...
4 years, 11 months ago (2016-01-14 22:48:17 UTC) #23
jochen (gone - plz use gerrit)
lgtm
4 years, 11 months ago (2016-01-15 14:41:30 UTC) #24
martijnc
+sky for mojo\services\network\net_address_type_converters.cc +wez for remoting\host\ipc_host_event_logger.cc & extensions\browser\api\cast_channel\logger.cc +miu for media\cast\net\udp_transport.cc +scheib for device\bluetooth\bluetooth_socket_win.cc Can ...
4 years, 11 months ago (2016-01-20 21:15:42 UTC) #27
sky
LGTM
4 years, 11 months ago (2016-01-20 23:06:59 UTC) #28
miu
media/cast/net/udp_transport.cc lgtm % one favor: https://codereview.chromium.org/1565303002/diff/280001/media/cast/net/udp_transport.cc File media/cast/net/udp_transport.cc (right): https://codereview.chromium.org/1565303002/diff/280001/media/cast/net/udp_transport.cc#newcode185 media/cast/net/udp_transport.cc:185: } else if (!(remote_addr_ ...
4 years, 11 months ago (2016-01-21 00:57:50 UTC) #29
martijnc
https://codereview.chromium.org/1565303002/diff/280001/media/cast/net/udp_transport.cc File media/cast/net/udp_transport.cc (right): https://codereview.chromium.org/1565303002/diff/280001/media/cast/net/udp_transport.cc#newcode185 media/cast/net/udp_transport.cc:185: } else if (!(remote_addr_ == recv_addr_)) { On 2016/01/21 ...
4 years, 11 months ago (2016-01-21 21:28:57 UTC) #32
miu
LGTM https://codereview.chromium.org/1565303002/diff/280001/media/cast/net/udp_transport.cc File media/cast/net/udp_transport.cc (right): https://codereview.chromium.org/1565303002/diff/280001/media/cast/net/udp_transport.cc#newcode185 media/cast/net/udp_transport.cc:185: } else if (!(remote_addr_ == recv_addr_)) { On ...
4 years, 11 months ago (2016-01-21 23:34:31 UTC) #33
martijnc
TBR'ing wez and scheib.
4 years, 11 months ago (2016-01-26 19:22:59 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1565303002/360001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1565303002/360001
4 years, 11 months ago (2016-01-26 19:24:10 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/164684)
4 years, 11 months ago (2016-01-26 23:56:18 UTC) #40
Wez
On 2016/01/26 at 19:22:59, martijn wrote: > TBR'ing wez and scheib. When adding multiple reviewers, ...
4 years, 11 months ago (2016-01-27 00:08:30 UTC) #41
eroman
(Also, "git cl owners" is a useful way to generate that list)
4 years, 11 months ago (2016-01-27 00:27:45 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1565303002/360001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1565303002/360001
4 years, 11 months ago (2016-01-27 07:05:21 UTC) #45
commit-bot: I haz the power
Committed patchset #7 (id:360001)
4 years, 11 months ago (2016-01-27 07:14:15 UTC) #46
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/98acb9b5250fac2902aff41afa71496da5cf26cd Cr-Commit-Position: refs/heads/master@{#371750}
4 years, 11 months ago (2016-01-27 07:15:08 UTC) #48
scheib
4 years, 10 months ago (2016-01-29 04:53:59 UTC) #49
Message was sent while issue was closed.
device\bluetooth\bluetooth_socket_win.cc LGTM

Powered by Google App Engine
This is Rietveld 408576698