Expose in url_canon_ip.h the previously internal-only functions:
url_canon::IPv4AddressToNumber()
url_canon::IPv6AddressToNumber()
Motivation:
I would like to use url_canon::IPv6AddressToNumber() in some chromium
network tests, to create mock IPv6 socketaddrs.
The system-provided equivalents (like getaddrinfo() or inet_ntop()) are
unreliable for this purpose, since they only work on IPv6-enabled
machines.
BUG=NONE
TEST=NONE
R=brettw
git-svn-id: http://google-url.googlecode.com/svn/trunk@110 8873c55e-713a-0410-88f8-23d9c3d90b1b