| 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 #include "chrome/browser/media/router/media_route_provider_util_win.h" | 5 #include "chrome/browser/media/router/mojo/media_route_provider_util_win.h" |
| 6 | 6 |
| 7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
| 8 #include "base/location.h" | 8 #include "base/location.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
| 11 #include "chrome/installer/util/browser_distribution.h" | 11 #include "chrome/installer/util/browser_distribution.h" |
| 12 #include "chrome/installer/util/firewall_manager_win.h" | 12 #include "chrome/installer/util/firewall_manager_win.h" |
| 13 #include "content/public/browser/browser_thread.h" | 13 #include "content/public/browser/browser_thread.h" |
| 14 | 14 |
| 15 namespace media_router { | 15 namespace media_router { |
| (...skipping 22 matching lines...) Expand all Loading... |
| 38 | 38 |
| 39 } // namespace | 39 } // namespace |
| 40 | 40 |
| 41 void CanFirewallUseLocalPorts(const base::Callback<void(bool)>& callback) { | 41 void CanFirewallUseLocalPorts(const base::Callback<void(bool)>& callback) { |
| 42 content::BrowserThread::PostTask( | 42 content::BrowserThread::PostTask( |
| 43 content::BrowserThread::FILE, FROM_HERE, | 43 content::BrowserThread::FILE, FROM_HERE, |
| 44 base::Bind(&DoCanFirewallUseLocalPorts, callback)); | 44 base::Bind(&DoCanFirewallUseLocalPorts, callback)); |
| 45 } | 45 } |
| 46 | 46 |
| 47 } // namespace media_router | 47 } // namespace media_router |
| OLD | NEW |