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

Issue 19286002: Remove interface probing for IPv6 support from HostResolverImpl (Closed)

Created:
7 years, 5 months ago by szym
Modified:
7 years, 5 months ago
Reviewers:
James Hawkins, mmenke
CC:
chromium-reviews, cbentzel+watch_chromium.org
Visibility:
Public.

Description

Remove interface probing for IPv6 support from HostResolverImpl Since r195406 the probe is not used. It is now safe to remove this code completely. BUG=260750 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=212224

Patch Set 1 #

Total comments: 6

Patch Set 2 : git cl try #

Total comments: 3

Patch Set 3 : clean up NetLog and net-internals #

Total comments: 6

Patch Set 4 : remove IPv6Support enums and restore DnsView.onLogLogFinish #

Patch Set 5 : disable IPv6 support probing in HostResolverImplDnsTest #

Patch Set 6 : Make --enable-ipv6 disable probing. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -425 lines) Patch
M chrome/browser/io_thread.cc View 1 2 3 4 5 1 chunk +6 lines, -6 lines 0 comments Download
M chrome/browser/net/connection_tester.cc View 1 2 1 chunk +1 line, -6 lines 0 comments Download
M chrome/browser/resources/net_internals/browser_bridge.js View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/resources/net_internals/dns_view.html View 1 2 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/resources/net_internals/dns_view.js View 1 2 3 4 chunks +0 lines, -65 lines 0 comments Download
M chrome/browser/ui/webui/net_internals/net_internals_ui.cc View 1 2 3 3 chunks +0 lines, -16 lines 0 comments Download
M net/base/net_log_event_type_list.h View 1 2 1 chunk +0 lines, -16 lines 0 comments Download
M net/base/net_log_source_type_list.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M net/base/net_util.h View 1 2 3 1 chunk +0 lines, -35 lines 0 comments Download
M net/base/net_util.cc View 1 2 1 chunk +0 lines, -173 lines 0 comments Download
M net/dns/host_resolver.h View 1 1 chunk +0 lines, -4 lines 0 comments Download
M net/dns/host_resolver.cc View 1 1 chunk +0 lines, -3 lines 0 comments Download
M net/dns/host_resolver_impl.h View 1 4 chunks +3 lines, -9 lines 0 comments Download
M net/dns/host_resolver_impl.cc View 1 7 chunks +4 lines, -76 lines 0 comments Download
M net/dns/host_resolver_impl_unittest.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M net/dns/mapped_host_resolver.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M net/dns/mapped_host_resolver.cc View 1 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
szym
7 years, 5 months ago (2013-07-16 16:56:44 UTC) #1
mmenke
https://codereview.chromium.org/19286002/diff/1/net/dns/host_resolver_impl.cc File net/dns/host_resolver_impl.cc (right): https://codereview.chromium.org/19286002/diff/1/net/dns/host_resolver_impl.cc#newcode1890 net/dns/host_resolver_impl.cc:1890: void HostResolverImpl::ProbeIPv6Support() { Leaving this in for now? Seems ...
7 years, 5 months ago (2013-07-16 17:48:04 UTC) #2
szym
https://codereview.chromium.org/19286002/diff/1/net/dns/host_resolver_impl.cc File net/dns/host_resolver_impl.cc (right): https://codereview.chromium.org/19286002/diff/1/net/dns/host_resolver_impl.cc#newcode1890 net/dns/host_resolver_impl.cc:1890: void HostResolverImpl::ProbeIPv6Support() { On 2013/07/16 17:48:04, mmenke wrote: > ...
7 years, 5 months ago (2013-07-16 20:08:31 UTC) #3
mmenke
https://codereview.chromium.org/19286002/diff/11001/net/dns/host_resolver_impl.cc File net/dns/host_resolver_impl.cc (left): https://codereview.chromium.org/19286002/diff/11001/net/dns/host_resolver_impl.cc#oldcode932 net/dns/host_resolver_impl.cc:932: net_log_(BoundNetLog::Make(net_log, NetLog::SOURCE_IPV6_PROBE_JOB)), Should remove this source type. https://codereview.chromium.org/19286002/diff/11001/net/dns/host_resolver_impl.cc#oldcode935 net/dns/host_resolver_impl.cc:935: ...
7 years, 5 months ago (2013-07-16 20:17:20 UTC) #4
mmenke
https://codereview.chromium.org/19286002/diff/17001/chrome/browser/resources/net_internals/dns_view.js File chrome/browser/resources/net_internals/dns_view.js (left): https://codereview.chromium.org/19286002/diff/17001/chrome/browser/resources/net_internals/dns_view.js#oldcode91 chrome/browser/resources/net_internals/dns_view.js:91: }, This is still needed. https://codereview.chromium.org/19286002/diff/17001/net/base/net_util.h File net/base/net_util.h (right): ...
7 years, 5 months ago (2013-07-17 14:25:09 UTC) #5
szym
I'm still trying to diagnose the failure in HostResolverImplDnsTest.DnsTaskUnspec on the bots (I cannot reproduce ...
7 years, 5 months ago (2013-07-17 16:32:27 UTC) #6
mmenke
On 2013/07/17 16:32:27, szym wrote: > I'm still trying to diagnose the failure in > ...
7 years, 5 months ago (2013-07-17 16:37:22 UTC) #7
mmenke
On 2013/07/17 16:37:22, mmenke wrote: > On 2013/07/17 16:32:27, szym wrote: > > I'm still ...
7 years, 5 months ago (2013-07-17 16:38:01 UTC) #8
szym
You were right. Disabling probing (by setting default address family to unspecified) was necessary. ptal
7 years, 5 months ago (2013-07-17 18:04:27 UTC) #9
mmenke
LGTM! Deleting lots of code is cool! Should we get rid of switches::kEnableIPv6? Don't think ...
7 years, 5 months ago (2013-07-17 18:16:37 UTC) #10
szym
On 2013/07/17 18:16:37, mmenke wrote: > LGTM! Deleting lots of code is cool! > > ...
7 years, 5 months ago (2013-07-17 18:46:55 UTC) #11
mmenke
On 2013/07/17 18:46:55, szym wrote: > On 2013/07/17 18:16:37, mmenke wrote: > > LGTM! Deleting ...
7 years, 5 months ago (2013-07-17 18:58:00 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/szym@chromium.org/19286002/59001
7 years, 5 months ago (2013-07-17 19:10:52 UTC) #13
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=15762
7 years, 5 months ago (2013-07-17 21:07:26 UTC) #14
szym
jhawkins: PTAL changes to chrome/browser/io_thread.cc
7 years, 5 months ago (2013-07-17 21:15:45 UTC) #15
James Hawkins
lgtm
7 years, 5 months ago (2013-07-17 21:18:00 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/szym@chromium.org/19286002/59001
7 years, 5 months ago (2013-07-17 21:23:11 UTC) #17
commit-bot: I haz the power
7 years, 5 months ago (2013-07-18 03:32:15 UTC) #18
Message was sent while issue was closed.
Change committed as 212224

Powered by Google App Engine
This is Rietveld 408576698