net: get rid of NetAddressToStringXXX functions from net_util.h
These functions were not actually used, except from the unittests.
The same effect of them can be achieved through IPEndPoint's
FromSockAddr() and ToString() methods.
This allow us to hide GetIPAddressFromSockAddr in ip_endpoint.cc source file.
BUG=488531
TEST=net_unittests
[email protected]
Review URL: https://codereview.chromium.org/1549653002
Cr-Commit-Position: refs/heads/master@{#366823}
6 files changed