Added unit test for DevTools' ephemeral port support.
commit5be86f6b95d5770ac23cc8952c0a6b1ba1e6331e
authorkbr@chromium.org <kbr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 11 Jun 2014 15:21:48 +0000 (11 15:21 +0000)
committerkbr@chromium.org <kbr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 11 Jun 2014 15:21:48 +0000 (11 15:21 +0000)
treeee9b4231b34f81b9251786d6e02c021416e03489
parent7db25301a9cdb42e173ce345b69ea475b9c673a5
Added unit test for DevTools' ephemeral port support.

Necessarily added support for mocking StreamListenSocket::GetLocalAddress.
Also cleaned up the int-to-string conversion in DevToolsHttpHandlerImpl.

BUG=382682

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276405 0039d316-1c4b-4281-b951-d872f2087c98
content/browser/devtools/devtools_http_handler_impl.cc
content/browser/devtools/devtools_http_handler_unittest.cc
net/socket/stream_listen_socket.h