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

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

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_message_handler.h
diff --git a/chrome/utility/local_discovery/service_discovery_message_handler.h b/chrome/utility/local_discovery/service_discovery_message_handler.h
index 722125f9931634aacd1209378bff5cf3db203e2c..2064f5592c677b68b46f50284ea5a0d4d24eed8b 100644
--- a/chrome/utility/local_discovery/service_discovery_message_handler.h
+++ b/chrome/utility/local_discovery/service_discovery_message_handler.h
@@ -60,6 +60,7 @@ class ServiceDiscoveryMessageHandler : public chrome::UtilityMessageHandler {
#endif // OS_POSIX
void OnStartWatcher(uint64 id, const std::string& service_type);
void OnDiscoverServices(uint64 id, bool force_update);
+ void OnSetActivelyRefreshServices(uint64 id, bool actively_refresh_services);
void OnDestroyWatcher(uint64 id);
void OnResolveService(uint64 id, const std::string& service_name);
void OnDestroyResolver(uint64 id);
@@ -70,6 +71,7 @@ class ServiceDiscoveryMessageHandler : public chrome::UtilityMessageHandler {
void InitializeMdns();
void StartWatcher(uint64 id, const std::string& service_type);
void DiscoverServices(uint64 id, bool force_update);
+ void SetActivelyRefreshServices(uint64 id, bool actively_refresh_services);
void DestroyWatcher(uint64 id);
void ResolveService(uint64 id, const std::string& service_name);
void DestroyResolver(uint64 id);

Powered by Google App Engine
This is Rietveld 408576698