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

Side by Side Diff: chrome/browser/media/router/mojo/media_route_provider_util_win.h

Issue 1826403002: [Media Router] Moves mojo-specific code into mojo/ folder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert change to media_router.mojom to fix compile Created 4 years, 8 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 unified diff | Download patch
OLDNEW
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698