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

Issue 1162973005: Stop including ip_address_number.h from net_util.h (Closed)

Created:
5 years, 6 months ago by eroman
Modified:
5 years, 6 months ago
Reviewers:
keybuk, jam, rpaquay, mmenke
CC:
chromium-reviews, hclam+watch_chromium.org, cbentzel+watch_chromium.org, imcheng+watch_chromium.org, hguihot+watch_chromium.org, jasonroberts+watch_google.com, avayvod+watch_chromium.org, feature-media-reviews_chromium.org, hubbe+watch_chromium.org, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Stop including ip_address_number.h from net_util.h Required duplicating the typedef for IPAddressNumber, and fixing a number of missing includes from consumers. BUG=488531 TBR=jam@chromium.org,rpaquay@chromium.org,keybuk@chromium.org, Committed: https://crrev.com/c9a6b72a7a6a5b3764e829c5fe74de4aa67e9fe3 Cr-Commit-Position: refs/heads/master@{#332708}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : sigh more #

Patch Set 6 : and more #

Patch Set 7 : moare #

Patch Set 8 : a win thing #

Patch Set 9 : more #

Total comments: 6

Patch Set 10 : address comments #

Patch Set 11 : rebase onto master #

Patch Set 12 : fix mac #

Patch Set 13 : account for the upstream change to network_interfaces #

Patch Set 14 : remove some header sorting changes, seems to be breaking windows #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -16 lines) Patch
M chrome/browser/extensions/api/mdns/dns_sd_device_lister.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/local_discovery/service_discovery_client_mac.mm View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/media/webrtc_logging_handler_host.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_database.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_database_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/services/gcm/gcm_account_tracker.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/renderer/media/cast_receiver_session_delegate.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/dom_distiller/core/distiller_unittest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M components/dom_distiller/core/dom_distiller_service.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/dom_distiller/core/task_tracker.cc View 1 chunk +1 line, -0 lines 0 comments Download
M components/html_viewer/blink_platform_impl.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/devtools/protocol/tethering_handler.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/child/blink_platform_impl.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/child/blink_platform_impl_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/p2p/host_address_request.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/p2p/ipc_network_manager.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/p2p/ipc_network_manager_unittest.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_socket_chromeos.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M device/bluetooth/bluetooth_socket_win.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M extensions/browser/api/cast_channel/cast_transport.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M extensions/browser/api/cast_channel/logger.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M extensions/browser/api/system_network/system_network_api.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M media/cast/net/cast_transport_sender_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M media/cast/net/rtcp/rtcp_unittest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M media/cast/test/fake_media_source.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M mojo/services/network/http_connection_impl.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M net/base/address_list.h View 1 chunk +1 line, -1 line 0 comments Download
M net/base/address_tracker_linux.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M net/base/ip_address_number.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M net/base/ip_endpoint.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M net/base/ip_endpoint.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M net/base/ip_pattern.h View 1 chunk +1 line, -1 line 0 comments Download
M net/base/ip_pattern_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M net/base/net_util.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +4 lines, -1 line 0 comments Download
M net/base/net_util.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M net/base/network_interfaces_linux.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M net/base/network_interfaces_mac.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M net/base/network_interfaces_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M net/cert/x509_certificate_openssl.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M net/dns/dns_hosts.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M net/dns/record_rdata.cc View 1 chunk +1 line, -0 lines 0 comments Download
M net/dns/record_rdata_unittest.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M net/http/http_server_properties_impl_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M net/http/http_server_properties_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_server_properties_manager_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M net/proxy/proxy_bypass_rules.cc View 1 chunk +1 line, -0 lines 0 comments Download
M net/proxy/proxy_resolver_v8.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M net/quic/quic_packet_reader.cc View 1 chunk +1 line, -0 lines 0 comments Download
M net/quic/quic_socket_address_coder.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M net/quic/quic_socket_address_coder_test.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M net/socket/tcp_socket_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M net/tools/quic/quic_client.cc View 1 chunk +1 line, -0 lines 0 comments Download
M net/tools/quic/quic_simple_per_connection_packet_writer.cc View 1 chunk +1 line, -0 lines 0 comments Download
M net/tools/quic/quic_simple_server_packet_writer.h View 1 chunk +1 line, -0 lines 0 comments Download
M net/tools/quic/quic_socket_utils.cc View 1 chunk +1 line, -0 lines 0 comments Download
M net/udp/udp_socket_libevent.h View 1 chunk +1 line, -0 lines 0 comments Download
M net/udp/udp_socket_win.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M remoting/host/gcd_rest_client.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/host/remoting_me2me_host.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M remoting/test/app_remoting_connected_client_fixture.h View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 26 (10 generated)
eroman
much fun to be had here...
5 years, 6 months ago (2015-06-03 01:41:12 UTC) #2
mmenke
https://codereview.chromium.org/1162973005/diff/160001/net/base/net_util.h File net/base/net_util.h (right): https://codereview.chromium.org/1162973005/diff/160001/net/base/net_util.h#newcode8 net/base/net_util.h:8: nit: Remove extra blank line https://codereview.chromium.org/1162973005/diff/160001/net/base/net_util.h#newcode36 net/base/net_util.h:36: typedef std::vector<unsigned ...
5 years, 6 months ago (2015-06-03 15:21:25 UTC) #3
eroman
https://codereview.chromium.org/1162973005/diff/160001/net/base/net_util.h File net/base/net_util.h (right): https://codereview.chromium.org/1162973005/diff/160001/net/base/net_util.h#newcode36 net/base/net_util.h:36: typedef std::vector<unsigned char> IPAddressNumber; On 2015/06/03 15:21:25, mmenke wrote: ...
5 years, 6 months ago (2015-06-03 16:23:28 UTC) #4
mmenke
LGTM (Note that I did not do an exhaustive review of the reason for every ...
5 years, 6 months ago (2015-06-03 17:23:11 UTC) #5
mmenke
On 2015/06/03 16:23:28, eroman wrote: > https://codereview.chromium.org/1162973005/diff/160001/net/base/net_util.h > File net/base/net_util.h (right): > > https://codereview.chromium.org/1162973005/diff/160001/net/base/net_util.h#newcode36 > ...
5 years, 6 months ago (2015-06-03 17:24:53 UTC) #6
eroman
Another possibility would be to change IPAddressNumber into an actual class (which just contains a ...
5 years, 6 months ago (2015-06-03 18:19:49 UTC) #7
mmenke
On 2015/06/03 18:19:49, eroman wrote: > Another possibility would be to change IPAddressNumber into an ...
5 years, 6 months ago (2015-06-03 18:20:20 UTC) #8
eroman
I will keep the duplicated typedef for now, and re-visit this later (since I think ...
5 years, 6 months ago (2015-06-03 18:29:10 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1162973005/200001
5 years, 6 months ago (2015-06-03 18:39:47 UTC) #12
eroman
TBRing owners. Details: This changelist is just adding the necessary #includes to keep things compiling, ...
5 years, 6 months ago (2015-06-03 18:57:29 UTC) #14
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/31186) mac_chromium_compile_dbg_ng on ...
5 years, 6 months ago (2015-06-03 19:27:29 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1162973005/240001
5 years, 6 months ago (2015-06-03 19:56:43 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_rel on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_rel/builds/90130)
5 years, 6 months ago (2015-06-03 20:52:09 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1162973005/260001
5 years, 6 months ago (2015-06-03 22:11:39 UTC) #24
commit-bot: I haz the power
Committed patchset #14 (id:260001)
5 years, 6 months ago (2015-06-03 22:19:08 UTC) #25
commit-bot: I haz the power
5 years, 6 months ago (2015-06-03 22:20:03 UTC) #26
Message was sent while issue was closed.
Patchset 14 (id:??) landed as
https://crrev.com/c9a6b72a7a6a5b3764e829c5fe74de4aa67e9fe3
Cr-Commit-Position: refs/heads/master@{#332708}

Powered by Google App Engine
This is Rietveld 408576698