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_ |