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

Unified Diff: chrome/browser/media/router/media_router.h

Issue 1821823002: [Media Router] Conditionally enable mDNS on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Message loop to run loop Created 4 years, 9 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/browser/media/router/media_router.h
diff --git a/chrome/browser/media/router/media_router.h b/chrome/browser/media/router/media_router.h
index d932d9330a0d0469a057d29fe4bddcca1d4a315d..eaf09abd2147411db1ce53a952fe968a95310b24 100644
--- a/chrome/browser/media/router/media_router.h
+++ b/chrome/browser/media/router/media_router.h
@@ -154,6 +154,13 @@ class MediaRouter : public KeyedService {
// Clears the issue with the id |issue_id|.
virtual void ClearIssue(const Issue::Id& issue_id) = 0;
+ // Returns |true| if mDNS discovery is enabled.
+ virtual bool should_enable_mdns_discovery() const = 0;
+
+ // Enables mDNS discovery on Media Route Provider Manager.
+ // |should_enable_mdns_discovery| should also return |true| after this call.
+ virtual void EnsureMdnsDiscoveryEnabled() = 0;
+
// Adds |callback| to listen for state changes for presentation connected to
// |route_id|. The returned Subscription object is owned by the caller.
// |callback| will be invoked whenever there are state changes, until the

Powered by Google App Engine
This is Rietveld 408576698