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

Issue 87693002: Refactored to make MDnsSocketFactory return array of sockets. (Closed)

Created:
7 years ago by Vitaly Buka (NO REVIEWS)
Modified:
7 years ago
Reviewers:
Lei Zhang, szym
CC:
chromium-reviews, cbentzel+watch_chromium.org, mmenke
Visibility:
Public.

Description

Refactored to make MDnsSocketFactory return array of sockets. MDnsClinet will just listen and send packet to those sockets without knowing address family or interface. BUG=297690 TBR=thestig, for c/tools/ Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=238042

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 9

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+273 lines, -339 lines) Patch
M chrome/browser/local_discovery/test_service_discovery_client.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/local_discovery/test_service_discovery_client.cc View 1 2 3 2 chunks +4 lines, -6 lines 0 comments Download
M chrome/tools/service_discovery_sniffer/service_discovery_sniffer.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M chrome/utility/local_discovery/local_domain_resolver_unittest.cc View 1 2 3 7 chunks +12 lines, -31 lines 0 comments Download
M chrome/utility/local_discovery/service_discovery_client_unittest.cc View 1 2 3 14 chunks +23 lines, -46 lines 0 comments Download
M chrome/utility/local_discovery/service_discovery_message_handler.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M net/dns/mdns_client.h View 1 2 3 chunks +11 lines, -1 line 0 comments Download
M net/dns/mdns_client.cc View 1 2 3 1 chunk +6 lines, -2 lines 0 comments Download
M net/dns/mdns_client_impl.h View 1 2 7 chunks +22 lines, -24 lines 0 comments Download
M net/dns/mdns_client_impl.cc View 1 2 6 chunks +67 lines, -78 lines 0 comments Download
M net/dns/mdns_client_unittest.cc View 1 2 29 chunks +85 lines, -113 lines 0 comments Download
M net/dns/mock_mdns_socket_factory.h View 1 2 5 chunks +14 lines, -14 lines 0 comments Download
M net/dns/mock_mdns_socket_factory.cc View 1 2 3 chunks +22 lines, -21 lines 0 comments Download

Messages

Total messages: 26 (0 generated)
Vitaly Buka (NO REVIEWS)
7 years ago (2013-11-26 07:51:57 UTC) #1
szym
https://codereview.chromium.org/87693002/diff/1/net/dns/mdns_client_impl.cc File net/dns/mdns_client_impl.cc (right): https://codereview.chromium.org/87693002/diff/1/net/dns/mdns_client_impl.cc#newcode205 net/dns/mdns_client_impl.cc:205: return socket.Pass(); Needs PassAs to compile.
7 years ago (2013-11-26 20:37:31 UTC) #2
Vitaly Buka (NO REVIEWS)
https://codereview.chromium.org/87693002/diff/1/net/dns/mdns_client_impl.cc File net/dns/mdns_client_impl.cc (right): https://codereview.chromium.org/87693002/diff/1/net/dns/mdns_client_impl.cc#newcode205 net/dns/mdns_client_impl.cc:205: return socket.Pass(); On 2013/11/26 20:37:31, szym wrote: > Needs ...
7 years ago (2013-11-26 20:52:29 UTC) #3
szym
https://codereview.chromium.org/87693002/diff/20001/net/dns/mdns_client_impl.cc File net/dns/mdns_client_impl.cc (right): https://codereview.chromium.org/87693002/diff/20001/net/dns/mdns_client_impl.cc#newcode93 net/dns/mdns_client_impl.cc:93: socket_handlers_.push_back( Empty sockets (which failed to bind in CreateSockets) ...
7 years ago (2013-11-27 00:28:08 UTC) #4
Vitaly Buka (NO REVIEWS)
https://codereview.chromium.org/87693002/diff/20001/net/dns/mdns_client_impl.cc File net/dns/mdns_client_impl.cc (right): https://codereview.chromium.org/87693002/diff/20001/net/dns/mdns_client_impl.cc#newcode93 net/dns/mdns_client_impl.cc:93: socket_handlers_.push_back( CreateSockets should filter. That was initial idea, but ...
7 years ago (2013-11-27 00:45:44 UTC) #5
Vitaly Buka (NO REVIEWS)
On 2013/11/27 00:45:44, Vitaly Buka wrote: > https://codereview.chromium.org/87693002/diff/20001/net/dns/mdns_client_impl.cc > File net/dns/mdns_client_impl.cc (right): > > https://codereview.chromium.org/87693002/diff/20001/net/dns/mdns_client_impl.cc#newcode93 ...
7 years ago (2013-11-27 00:48:02 UTC) #6
szym
https://codereview.chromium.org/87693002/diff/20001/net/dns/mdns_client_impl.h File net/dns/mdns_client_impl.h (right): https://codereview.chromium.org/87693002/diff/20001/net/dns/mdns_client_impl.h#newcode30 net/dns/mdns_client_impl.h:30: class Socket { On 2013/11/27 00:45:45, Vitaly Buka wrote: ...
7 years ago (2013-11-27 02:25:27 UTC) #7
Vitaly Buka (NO REVIEWS)
On 2013/11/27 02:25:27, szym wrote: > https://codereview.chromium.org/87693002/diff/20001/net/dns/mdns_client_impl.h > File net/dns/mdns_client_impl.h (right): > > https://codereview.chromium.org/87693002/diff/20001/net/dns/mdns_client_impl.h#newcode30 > ...
7 years ago (2013-11-27 06:29:31 UTC) #8
Vitaly Buka (NO REVIEWS)
On 2013/11/27 06:29:31, Vitaly Buka wrote: > On 2013/11/27 02:25:27, szym wrote: > > https://codereview.chromium.org/87693002/diff/20001/net/dns/mdns_client_impl.h ...
7 years ago (2013-11-27 06:35:42 UTC) #9
szym
On Tue, Nov 26, 2013 at 10:35 PM, <vitalybuka@chromium.org> wrote: > On 2013/11/27 06:29:31, Vitaly ...
7 years ago (2013-11-27 07:33:55 UTC) #10
szym
https://codereview.chromium.org/87693002/diff/20001/net/dns/mdns_client_impl.h File net/dns/mdns_client_impl.h (right): https://codereview.chromium.org/87693002/diff/20001/net/dns/mdns_client_impl.h#newcode38 net/dns/mdns_client_impl.h:38: virtual int SendTo(IOBuffer* buf, Does not take an address, ...
7 years ago (2013-11-27 07:37:44 UTC) #11
Vitaly Buka (NO REVIEWS)
https://codereview.chromium.org/87693002/diff/20001/net/dns/mdns_client_impl.h File net/dns/mdns_client_impl.h (right): https://codereview.chromium.org/87693002/diff/20001/net/dns/mdns_client_impl.h#newcode38 net/dns/mdns_client_impl.h:38: virtual int SendTo(IOBuffer* buf, This one does not, that ...
7 years ago (2013-11-27 08:45:37 UTC) #12
Vitaly Buka (NO REVIEWS)
In this patch I switched back to DatagramServerSockets
7 years ago (2013-11-27 08:48:34 UTC) #13
szym
lgtm
7 years ago (2013-11-27 09:14:03 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vitalybuka@chromium.org/87693002/160001
7 years ago (2013-11-27 20:04:10 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vitalybuka@chromium.org/87693002/160001
7 years ago (2013-11-28 01:31:34 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vitalybuka@chromium.org/87693002/160001
7 years ago (2013-11-28 02:07:23 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vitalybuka@chromium.org/87693002/160001
7 years ago (2013-11-28 02:37:27 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vitalybuka@chromium.org/87693002/160001
7 years ago (2013-11-28 03:06:11 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vitalybuka@chromium.org/87693002/160001
7 years ago (2013-11-28 03:33:32 UTC) #20
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=38510
7 years ago (2013-11-28 03:57:25 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vitalybuka@chromium.org/87693002/160001
7 years ago (2013-11-29 21:48:41 UTC) #22
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=38707
7 years ago (2013-11-29 22:05:33 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vitalybuka@chromium.org/87693002/160001
7 years ago (2013-12-02 00:07:24 UTC) #24
commit-bot: I haz the power
Change committed as 238042
7 years ago (2013-12-02 06:26:33 UTC) #25
Lei Zhang
7 years ago (2013-12-02 18:21:01 UTC) #26
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698