OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTE_PROVIDER_UTIL_WIN_H_ |
| 6 #define CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTE_PROVIDER_UTIL_WIN_H_ |
| 7 |
| 8 #include "base/callback.h" |
| 9 |
| 10 namespace media_router { |
| 11 |
| 12 // Asynchronously checks whether there will be a firewall prompt for using local |
| 13 // ports on Windows. |callback| will be called with the result where |true| |
| 14 // means that local ports can be used without triggering a firewall prompt. |
| 15 void CanFirewallUseLocalPorts(const base::Callback<void(bool)>& callback); |
| 16 |
| 17 } // namespace media_router |
| 18 |
| 19 #endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTE_PROVIDER_UTIL_WIN_H_ |
OLD | NEW |