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

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

Issue 1821823002: [Media Router] Conditionally enable mDNS on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Semicolon for Windows code 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 bb9beabbceed922b65120ceecf16ac6a6382eee8..683904122489d906d2ffbca2765f76648c824c13 100644
--- a/chrome/browser/media/router/media_router.mojom
+++ b/chrome/browser/media/router/media_router.mojom
@@ -281,6 +281,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