| Index: chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.h
|
| diff --git a/chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.h b/chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.h
|
| index 520a66ba09e19a7a2847dfae180e45e3cf78eb84..bc5448f5e354166657f7dd93c7a10d8386f15944 100644
|
| --- a/chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.h
|
| +++ b/chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.h
|
| @@ -29,12 +29,18 @@ class PrivetHTTPAsynchronousFactoryImpl : public PrivetHTTPAsynchronousFactory {
|
| net::URLRequestContextGetter* request_context);
|
| ~ResolutionImpl() override;
|
|
|
| + void Start(const ResultCallback& callback) override;
|
| +
|
| void Start(const net::HostPortPair& address,
|
| const ResultCallback& callback) override;
|
|
|
| const std::string& GetName() override;
|
|
|
| private:
|
| + void ServiceResolveComplete(const ResultCallback& callback,
|
| + ServiceResolver::RequestStatus result,
|
| + const ServiceDescription& description);
|
| +
|
| void DomainResolveComplete(uint16 port,
|
| const ResultCallback& callback,
|
| bool success,
|
| @@ -44,6 +50,7 @@ class PrivetHTTPAsynchronousFactoryImpl : public PrivetHTTPAsynchronousFactory {
|
| std::string name_;
|
| scoped_refptr<net::URLRequestContextGetter> request_context_;
|
| scoped_refptr<ServiceDiscoverySharedClient> service_discovery_client_;
|
| + scoped_ptr<ServiceResolver> service_resolver_;
|
| scoped_ptr<LocalDomainResolver> domain_resolver_;
|
| };
|
|
|
|
|