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

Side by Side Diff: media/device_monitors/device_monitor_mac.mm

Issue 2224643002: Move device monitors out of //media/capture into //media/device_monitors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « media/device_monitors/device_monitor_mac.h ('k') | media/device_monitors/device_monitor_udev.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "media/capture/device_monitor_mac.h" 5 #include "media/device_monitors/device_monitor_mac.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/bind_helpers.h" 9 #include "base/bind_helpers.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/mac/bind_objc_block.h" 11 #include "base/mac/bind_objc_block.h"
12 #include "base/mac/scoped_nsobject.h" 12 #include "base/mac/scoped_nsobject.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/profiler/scoped_tracker.h" 14 #include "base/profiler/scoped_tracker.h"
15 #include "base/task_runner_util.h" 15 #include "base/task_runner_util.h"
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 } 466 }
467 467
468 void DeviceMonitorMac::NotifyDeviceChanged( 468 void DeviceMonitorMac::NotifyDeviceChanged(
469 base::SystemMonitor::DeviceType type) { 469 base::SystemMonitor::DeviceType type) {
470 DCHECK(thread_checker_.CalledOnValidThread()); 470 DCHECK(thread_checker_.CalledOnValidThread());
471 // TODO(xians): Remove the global variable for SystemMonitor. 471 // TODO(xians): Remove the global variable for SystemMonitor.
472 base::SystemMonitor::Get()->ProcessDevicesChanged(type); 472 base::SystemMonitor::Get()->ProcessDevicesChanged(type);
473 } 473 }
474 474
475 } // namespace media 475 } // namespace media
OLDNEW
« no previous file with comments | « media/device_monitors/device_monitor_mac.h ('k') | media/device_monitors/device_monitor_udev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698