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

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

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
Index: chrome/browser/media/router/media_route_provider_util_win.h
diff --git a/chrome/browser/media/router/media_route_provider_util_win.h b/chrome/browser/media/router/media_route_provider_util_win.h
new file mode 100644
index 0000000000000000000000000000000000000000..c4070b7a80ab4af641476d34b3fa4f0452b4ee1b
--- /dev/null
+++ b/chrome/browser/media/router/media_route_provider_util_win.h
@@ -0,0 +1,19 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTE_PROVIDER_UTIL_WIN_H_
+#define CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTE_PROVIDER_UTIL_WIN_H_
+
+#include "base/callback.h"
+
+namespace media_router {
+
+// Asynchronously checks whether there will be a firewall prompt for using local
+// ports on Windows. |callback| will be called with the result where |true|
+// means that local ports can be used without triggering a firewall prompt.
+void CanFirewallUseLocalPorts(const base::Callback<void(bool)>& callback);
+
+} // namespace media_router
+
+#endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTE_PROVIDER_UTIL_WIN_H_

Powered by Google App Engine
This is Rietveld 408576698