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

Unified Diff: chrome/utility/local_discovery/service_discovery_client_impl.cc

Issue 141583010: Add "actively refresh services" method to ServiceDiscoveryClient (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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/utility/local_discovery/service_discovery_client_impl.cc
diff --git a/chrome/utility/local_discovery/service_discovery_client_impl.cc b/chrome/utility/local_discovery/service_discovery_client_impl.cc
index ebb541d932faf6f63cadfd5784c266d0aff35071..c7aaacd1d0fc786a4dc58afac097f129dd142694 100644
--- a/chrome/utility/local_discovery/service_discovery_client_impl.cc
+++ b/chrome/utility/local_discovery/service_discovery_client_impl.cc
@@ -80,6 +80,12 @@ void ServiceWatcherImpl::DiscoverNewServices(bool force_update) {
SendQuery(kInitialRequeryTimeSeconds, force_update);
}
+void ServiceWatcherImpl::SetActivelyRefreshServices(
+ bool actively_refresh_services) {
+ DCHECK(started_);
+ NOTIMPLEMENTED();
+}
+
void ServiceWatcherImpl::ReadCachedServices() {
DCHECK(started_);
CreateTransaction(false /*network*/, true /*cache*/, false /*force refresh*/,

Powered by Google App Engine
This is Rietveld 408576698