net: move ResolveLocalHostname into host_ resolver_impl.h
This patch moves ResolveLocalHostname() function from net_util.h to
host_resolver_impl.h as it is only used internally by the
host_resolver_impl.cc source file. It was exposed in the header file in
other to keep it unit tested.
In order to move it out of net_util.h we also had to expose
IsLocalHostname in url_util.h, moving it from net_util.cc source file.
BUG=488531
TEST=net_unittests --gtest_filter=HostResolverImpl*
[email protected]
Review URL: https://codereview.chromium.org/1710863002
Cr-Commit-Position: refs/heads/master@{#376485}
8 files changed