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