OLD | NEW |
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 Loading... |
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 |
OLD | NEW |