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

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

Issue 2963613002: Remove the (broken and unneeded) 'force_update' option from ServiceWatcher::DiscoverNewDevices. (Closed)
Patch Set: Fixup yet another mac site revealed by CQ Created 3 years, 6 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/service_discovery_client_impl.h
diff --git a/chrome/browser/local_discovery/service_discovery_client_impl.h b/chrome/browser/local_discovery/service_discovery_client_impl.h
index ff860ba2793f9dd3d2975df9b72771ce4a217314..cb1d8dd317a0ba7a30e4158f0dc38931b5bdb48c 100644
--- a/chrome/browser/local_discovery/service_discovery_client_impl.h
+++ b/chrome/browser/local_discovery/service_discovery_client_impl.h
@@ -61,7 +61,7 @@ class ServiceWatcherImpl : public ServiceWatcher,
// ServiceWatcher implementation:
void Start() override;
- void DiscoverNewServices(bool force_update) override;
+ void DiscoverNewServices() override;
void SetActivelyRefreshServices(bool actively_refresh_services) override;
@@ -130,7 +130,6 @@ class ServiceWatcherImpl : public ServiceWatcher,
void AddSRV(const std::string& service);
bool CreateTransaction(bool active,
bool alert_existing_services,
- bool force_refresh,
std::unique_ptr<net::MDnsTransaction>* transaction);
void DeferUpdate(ServiceWatcher::UpdateType update_type,
@@ -140,7 +139,7 @@ class ServiceWatcherImpl : public ServiceWatcher,
void ScheduleQuery(int timeout_seconds);
- void SendQuery(int next_timeout_seconds, bool force_update);
+ void SendQuery(int next_timeout_seconds);
const std::string service_type_;
ServiceListenersMap services_;

Powered by Google App Engine
This is Rietveld 408576698