Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4046)

Unified Diff: chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.h

Issue 959503003: Remove ServiceDiscoveryClient* from PrivetHTTPAsynchronousFactoryImpl interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fixEstablish
Patch Set: Tue Feb 24 17:30:57 PST 2015 Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;
};

Powered by Google App Engine
This is Rietveld 408576698