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

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

Issue 1846673002: [Media Router] Conditionally enable mDNS on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2661
Patch Set: Patch-up newly-added test. 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
« no previous file with comments | « chrome/browser/media/router/media_router.gypi ('k') | chrome/browser/media/router/media_router_metrics.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/router/media_router.mojom
diff --git a/chrome/browser/media/router/media_router.mojom b/chrome/browser/media/router/media_router.mojom
index 6c28dd7bc129b6ecc872bd120e88fd0104865fd2..7ebcc813f7f83e4b0b5332b44fc8e584356eb2be 100644
--- a/chrome/browser/media/router/media_router.mojom
+++ b/chrome/browser/media/router/media_router.mojom
@@ -263,6 +263,11 @@ interface MediaRouteProvider {
// |route_id| has been closed (via .close(), garbage collection or
// navigation).
DetachRoute(string route_id);
+
+ // Enables mDNS discovery. No-op if mDNS discovery is already enabled.
+ // Calling this will trigger a firewall prompt on Windows if there is not
+ // already a firewall rule for mDNS.
+ EnableMdnsDiscovery();
};
// Interface for a service which observes state changes across media
« no previous file with comments | « chrome/browser/media/router/media_router.gypi ('k') | chrome/browser/media/router/media_router_metrics.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698