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

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

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 #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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698