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

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

Issue 137343005: Send multiple queries when DiscoverNewServices is called on a service watcher (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.h
diff --git a/chrome/utility/local_discovery/service_discovery_client_impl.h b/chrome/utility/local_discovery/service_discovery_client_impl.h
index efe0d430f96f1b9fbcb25ef0be30a89765d6c78b..0593feda4170237cdbd6ae7485803c2b63ebfc94 100644
--- a/chrome/utility/local_discovery/service_discovery_client_impl.h
+++ b/chrome/utility/local_discovery/service_discovery_client_impl.h
@@ -108,6 +108,10 @@ class ServiceWatcherImpl : public ServiceWatcher,
void DeliverDeferredUpdate(ServiceWatcher::UpdateType update_type,
const std::string& service_name);
+ void ScheduleQuery(int timeout_seconds);
+
+ void SendQuery(int next_timeout_seconds, bool force_update);
+
std::string service_type_;
ServiceListenersMap services_;
scoped_ptr<net::MDnsTransaction> transaction_network_;

Powered by Google App Engine
This is Rietveld 408576698