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

Unified Diff: net/dns/mdns_client.h

Issue 132693025: Add the ability for MDnsListener to actively refresh records (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: net/dns/mdns_client.h
diff --git a/net/dns/mdns_client.h b/net/dns/mdns_client.h
index ab7916ed47dfe61d8cbcf08382bbf29187d25814..67cc849e5cdb2e759471fa4ba7272c8d0dda1215 100644
--- a/net/dns/mdns_client.h
+++ b/net/dns/mdns_client.h
@@ -113,6 +113,9 @@ class NET_EXPORT MDnsListener {
// Start the listener. Return true on success.
virtual bool Start() = 0;
+ // Actively refresh any received records.
+ virtual void SetActiveRefresh(bool active_refresh) = 0;
+
// Get the host or service name for this query.
// Return an empty string for no name.
virtual const std::string& GetName() const = 0;

Powered by Google App Engine
This is Rietveld 408576698