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 10cda8ce5e292570bdee337d5a1231422e5a95f5..64449c5825d304123d4c2dc3dca878a6915f90c6 100644 |
--- a/chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.h |
+++ b/chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.h |
@@ -13,8 +13,7 @@ namespace local_discovery { |
class PrivetHTTPAsynchronousFactoryImpl : public PrivetHTTPAsynchronousFactory { |
public: |
- PrivetHTTPAsynchronousFactoryImpl( |
- ServiceDiscoveryClient* service_discovery_client, |
+ explicit PrivetHTTPAsynchronousFactoryImpl( |
net::URLRequestContextGetter* request_context); |
~PrivetHTTPAsynchronousFactoryImpl() override; |
@@ -29,7 +28,6 @@ class PrivetHTTPAsynchronousFactoryImpl : public PrivetHTTPAsynchronousFactory { |
ResolutionImpl(const std::string& name, |
const net::HostPortPair& address, |
const ResultCallback& callback, |
- ServiceDiscoveryClient* service_discovery_client, |
net::URLRequestContextGetter* request_context); |
~ResolutionImpl() override; |
@@ -46,9 +44,9 @@ class PrivetHTTPAsynchronousFactoryImpl : public PrivetHTTPAsynchronousFactory { |
net::HostPortPair hostport_; |
ResultCallback callback_; |
scoped_refptr<net::URLRequestContextGetter> request_context_; |
+ scoped_refptr<ServiceDiscoverySharedClient> service_discovery_client_; |
}; |
- ServiceDiscoveryClient* service_discovery_client_; |
scoped_refptr<net::URLRequestContextGetter> request_context_; |
}; |