Store hostname before address is resolved.
commit779f58faac4f220505fbfcd7eb75d4e53c3c6aaf
authormallinath@chromium.org <mallinath@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 3 Mar 2014 23:52:20 +0000 (3 23:52 +0000)
committermallinath@chromium.org <mallinath@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 3 Mar 2014 23:52:20 +0000 (3 23:52 +0000)
tree865c3183c31c315d142b8f8bd3e7795767d96cd9
parente645be8376d37ae32c6d3ab3b1a0ce23097bb3e4
Store hostname before address is resolved.

Libjingle when requests for address resolve it will
provide address in hostname:port format. But for resolving an address
we just need |hostname|. After |hostname| is resolved to
an IP address, P2PAsyncAddressResolver must set the original
port number passed in the request. Otherwise libjingle will not
able to use the resolved address as it will have 0 port number.

R=hclam@chromium.org
TBR=sergeyu@chromium.org
BUG=348082

Review URL: https://codereview.chromium.org/185683005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254610 0039d316-1c4b-4281-b951-d872f2087c98
content/renderer/p2p/host_address_request.cc
content/renderer/p2p/host_address_request.h
content/renderer/p2p/ipc_socket_factory.cc