| Index: chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.cc
|
| diff --git a/chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.cc b/chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.cc
|
| index bb9a43e17f058a9e93efc165a5a5ae9051890ce9..218b31cad57c6fab32f19924dc9884f4229cfde4 100644
|
| --- a/chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.cc
|
| +++ b/chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.cc
|
| @@ -10,6 +10,7 @@
|
| #include "chrome/browser/local_discovery/privet_http_impl.h"
|
| #include "chrome/browser/local_discovery/service_discovery_shared_client.h"
|
| #include "chrome/common/chrome_switches.h"
|
| +#include "net/base/net_util.h"
|
|
|
| namespace local_discovery {
|
|
|
| @@ -62,6 +63,8 @@ void PrivetHTTPAsynchronousFactoryImpl::ResolutionImpl::Start(
|
| const net::HostPortPair& address,
|
| const ResultCallback& callback) {
|
| #if defined(OS_MACOSX)
|
| + net::IPAddressNumber ip_address;
|
| + DCHECK(net::ParseIPLiteralToNumber(address.host(), &ip_address));
|
| // MAC already has IP there.
|
| callback.Run(scoped_ptr<PrivetHTTPClient>(
|
| new PrivetHTTPClientImpl(name_, address, request_context_.get())));
|
|
|