From bdd6c3d5e38ea165ed435002f7755ffbeed68814 Mon Sep 17 00:00:00 2001 From: "noamsml@chromium.org" Date: Thu, 30 Jan 2014 08:07:42 +0000 Subject: Add the ability for MDnsListener to actively refresh records If the MDnsListener is listening for a record we care about, actively refresh it. BUG=336883 R=vitalybuka@chromium.org,szym@chromium.org Review URL: https://codereview.chromium.org/132693025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247889 0039d316-1c4b-4281-b951-d872f2087c98 --- net/dns/mdns_client.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'net/dns/mdns_client.h') diff --git a/net/dns/mdns_client.h b/net/dns/mdns_client.h index ab7916e..67cc849 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; -- cgit v1.1