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

Issue 2508593002: net: move udp directory into socket (Closed)

Created:
4 years, 1 month ago by tfarina
Modified:
4 years, 1 month ago
CC:
chromium-reviews, extensions-reviews_chromium.org, cbentzel+watch_chromium.org, jam, imcheng+watch_chromium.org, chromoting-reviews_chromium.org, jasonroberts+watch_google.com, avayvod+watch_chromium.org, feature-media-reviews_chromium.org, fuzzing_chromium.org, darin-cc_chromium.org, chromium-apps-reviews_chromium.org, xjz+watch_chromium.org, isheriff+watch_chromium.org, miu+watch_chromium.org, mmenke, Ryan Hamilton
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

net: move udp directory into socket After discussing with OWNERS we agreed that net/udp is inconsistent and lonely. Today socket/ is a dumping ground for both interface and most implementations (sockets + socket pools X, tcp, ssl, socks, unix domain, websocket), so since even TCP is there it seems to make more sense to have UDP there as well. BUG=None R=eroman@chromium.org,rch@chromium.org TBR=thestig@chromium.org,avi@chromium.org,asargent@chromium.org,hubbe@chromium.org Committed: https://crrev.com/5dd13c29673c2a34b82caf82e0b00345680bceda Cr-Commit-Position: refs/heads/master@{#432463}

Patch Set 1 #

Total comments: 4

Patch Set 2 : revert sys/socket.h change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+168 lines, -5070 lines) Patch
M chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/cast_streaming/performance_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/dial/dial_service.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/local_discovery/service_discovery_client_mdns.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/printing/cloud_print/privet_traffic_detector.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/p2p/socket_dispatcher_host.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/p2p/socket_host.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/p2p/socket_host_udp.h View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/p2p/socket_host_udp_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/display_source/display_source_apitestbase.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/display_source/wifi_display/wifi_display_media_service_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/socket/udp_socket.h View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/socket/udp_socket.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M media/cast/net/udp_transport.h View 1 chunk +2 lines, -2 lines 0 comments Download
M media/cast/test/utility/net_utility.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/cast/test/utility/tap_proxy.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/cast/test/utility/udp_proxy.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/BUILD.gn View 2 chunks +3 lines, -3 lines 0 comments Download
M net/dns/address_sorter_posix.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M net/dns/address_sorter_posix_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/dns/dns_session.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/dns/dns_socket_pool.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/dns/dns_transaction.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/dns/host_resolver_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/dns/mdns_client_impl.h View 1 chunk +3 lines, -3 lines 0 comments Download
M net/dns/mdns_client_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/dns/mdns_client_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/net.gypi View 32 chunks +60 lines, -60 lines 0 comments Download
M net/quic/chromium/quic_chromium_client_session.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/quic/chromium/quic_chromium_client_session_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/quic/chromium/quic_chromium_connection_helper.h View 1 chunk +1 line, -1 line 0 comments Download
M net/quic/chromium/quic_chromium_packet_reader.h View 1 chunk +1 line, -1 line 0 comments Download
M net/quic/chromium/quic_chromium_packet_writer.h View 1 chunk +1 line, -1 line 0 comments Download
M net/quic/chromium/quic_stream_factory.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/socket/client_socket_factory.h View 1 chunk +1 line, -1 line 0 comments Download
M net/socket/client_socket_factory.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/socket/client_socket_pool_base_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
A + net/socket/datagram_client_socket.h View 2 chunks +4 lines, -4 lines 0 comments Download
A + net/socket/datagram_server_socket.h View 2 chunks +5 lines, -5 lines 0 comments Download
A + net/socket/datagram_socket.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + net/socket/diff_serv_code_point.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + net/socket/fuzzed_datagram_client_socket.h View 2 chunks +4 lines, -4 lines 0 comments Download
A + net/socket/fuzzed_datagram_client_socket.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/socket/fuzzed_socket_factory.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/socket/socket_test_util.h View 1 chunk +1 line, -1 line 0 comments Download
M net/socket/transport_client_socket_pool_test_util.cc View 1 chunk +1 line, -1 line 0 comments Download
A + net/socket/udp_client_socket.h View 1 chunk +2 lines, -2 lines 0 comments Download
A + net/socket/udp_client_socket.cc View 1 chunk +1 line, -1 line 0 comments Download
A + net/socket/udp_net_log_parameters.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + net/socket/udp_net_log_parameters.cc View 1 chunk +1 line, -1 line 0 comments Download
A + net/socket/udp_server_socket.h View 1 chunk +2 lines, -2 lines 0 comments Download
A + net/socket/udp_server_socket.cc View 1 chunk +1 line, -1 line 0 comments Download
A + net/socket/udp_socket.h View 2 chunks +5 lines, -5 lines 0 comments Download
A + net/socket/udp_socket_perftest.cc View 1 chunk +3 lines, -3 lines 0 comments Download
A + net/socket/udp_socket_posix.h View 3 chunks +5 lines, -5 lines 0 comments Download
A + net/socket/udp_socket_posix.cc View 2 chunks +2 lines, -2 lines 0 comments Download
A + net/socket/udp_socket_unittest.cc View 2 chunks +3 lines, -4 lines 0 comments Download
A + net/socket/udp_socket_win.h View 3 chunks +5 lines, -5 lines 0 comments Download
A + net/socket/udp_socket_win.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M net/tools/quic/quic_simple_client.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/tools/quic/quic_simple_server.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/tools/quic/quic_simple_server_packet_writer.cc View 1 chunk +1 line, -1 line 0 comments Download
D net/udp/datagram_client_socket.h View 1 chunk +0 lines, -48 lines 0 comments Download
D net/udp/datagram_server_socket.h View 1 chunk +0 lines, -115 lines 0 comments Download
D net/udp/datagram_socket.h View 1 chunk +0 lines, -54 lines 0 comments Download
D net/udp/diff_serv_code_point.h View 1 chunk +0 lines, -42 lines 0 comments Download
D net/udp/fuzzed_datagram_client_socket.h View 1 chunk +0 lines, -81 lines 0 comments Download
D net/udp/fuzzed_datagram_client_socket.cc View 1 chunk +0 lines, -196 lines 0 comments Download
D net/udp/udp_client_socket.h View 1 chunk +0 lines, -61 lines 0 comments Download
D net/udp/udp_client_socket.cc View 1 chunk +0 lines, -125 lines 0 comments Download
D net/udp/udp_net_log_parameters.h View 1 chunk +0 lines, -33 lines 0 comments Download
D net/udp/udp_net_log_parameters.cc View 1 chunk +0 lines, -60 lines 0 comments Download
D net/udp/udp_server_socket.h View 1 chunk +0 lines, -66 lines 0 comments Download
D net/udp/udp_server_socket.cc View 1 chunk +0 lines, -129 lines 0 comments Download
D net/udp/udp_socket.h View 1 chunk +0 lines, -46 lines 0 comments Download
D net/udp/udp_socket_perftest.cc View 1 chunk +0 lines, -137 lines 0 comments Download
D net/udp/udp_socket_posix.h View 1 chunk +0 lines, -330 lines 0 comments Download
D net/udp/udp_socket_posix.cc View 1 chunk +0 lines, -888 lines 0 comments Download
D net/udp/udp_socket_unittest.cc View 1 chunk +0 lines, -899 lines 0 comments Download
D net/udp/udp_socket_win.h View 1 chunk +0 lines, -390 lines 0 comments Download
D net/udp/udp_socket_win.cc View 1 chunk +0 lines, -1201 lines 0 comments Download
M remoting/protocol/chromium_socket_factory.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 26 (14 generated)
eroman
patchset1 lgtm https://codereview.chromium.org/2508593002/diff/1/net/dns/address_sorter_posix.cc File net/dns/address_sorter_posix.cc (right): https://codereview.chromium.org/2508593002/diff/1/net/dns/address_sorter_posix.cc#newcode18 net/dns/address_sorter_posix.cc:18: #include <sys/socket.h> // Must be included before ...
4 years, 1 month ago (2016-11-15 23:41:45 UTC) #3
tfarina
https://codereview.chromium.org/2508593002/diff/1/net/net.gypi File net/net.gypi (right): https://codereview.chromium.org/2508593002/diff/1/net/net.gypi#newcode893 net/net.gypi:893: 'quic/chromium/quic_http_stream.cc', On 2016/11/15 23:41:45, eroman (slow) wrote: > These ...
4 years, 1 month ago (2016-11-15 23:48:25 UTC) #4
tfarina
https://codereview.chromium.org/2508593002/diff/1/net/dns/address_sorter_posix.cc File net/dns/address_sorter_posix.cc (right): https://codereview.chromium.org/2508593002/diff/1/net/dns/address_sorter_posix.cc#newcode18 net/dns/address_sorter_posix.cc:18: #include <sys/socket.h> // Must be included before ifaddrs.h. On ...
4 years, 1 month ago (2016-11-15 23:59:13 UTC) #8
eroman
patchset2 lgtm
4 years, 1 month ago (2016-11-16 00:06:42 UTC) #10
Ryan Hamilton
LGTM!
4 years, 1 month ago (2016-11-16 02:58:25 UTC) #14
tfarina
TBR the owners for the trivial changes outside net. Lei -> chrome Avi -> content ...
4 years, 1 month ago (2016-11-16 11:59:40 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2508593002/20001
4 years, 1 month ago (2016-11-16 12:01:15 UTC) #19
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-16 12:08:59 UTC) #21
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/5dd13c29673c2a34b82caf82e0b00345680bceda Cr-Commit-Position: refs/heads/master@{#432463}
4 years, 1 month ago (2016-11-16 12:11:18 UTC) #23
Avi (use Gerrit)
lgtm stamp
4 years, 1 month ago (2016-11-16 15:27:15 UTC) #24
hubbe
media LGTM
4 years, 1 month ago (2016-11-16 18:11:40 UTC) #25
Lei Zhang
4 years, 1 month ago (2016-11-16 21:02:58 UTC) #26
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698