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

Side by Side Diff: device/capture/device_monitor_udev.h

Issue 2143903003: [WIP] Move media/capture to device/capture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | « device/capture/device_monitor_mac.mm ('k') | device/capture/device_monitor_udev.cc » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // This class is used to detect device change and notify base::SystemMonitor 5 // This class is used to detect device change and notify base::SystemMonitor
6 // on Linux. 6 // on Linux.
7 7
8 #ifndef MEDIA_CAPTURE_DEVICE_MONITOR_UDEV_H_ 8 #ifndef DEVICE_CAPTURE_DEVICE_MONITOR_UDEV_H_
9 #define MEDIA_CAPTURE_DEVICE_MONITOR_UDEV_H_ 9 #define DEVICE_CAPTURE_DEVICE_MONITOR_UDEV_H_
10 10
11 #include <memory> 11 #include <memory>
12 12
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "base/message_loop/message_loop.h" 15 #include "base/message_loop/message_loop.h"
16 #include "base/single_thread_task_runner.h" 16 #include "base/single_thread_task_runner.h"
17 #include "media/capture/capture_export.h" 17 #include "device/capture/capture_export.h"
18 18
19 extern "C" { 19 extern "C" {
20 struct udev_device; 20 struct udev_device;
21 } 21 }
22 22
23 namespace device { 23 namespace device {
24 class UdevLinux; 24 class UdevLinux;
25 } 25 }
26 26
27 namespace media { 27 namespace media {
(...skipping 19 matching lines...) Expand all
47 47
48 const scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; 48 const scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_;
49 49
50 std::unique_ptr<device::UdevLinux> udev_; 50 std::unique_ptr<device::UdevLinux> udev_;
51 51
52 DISALLOW_COPY_AND_ASSIGN(DeviceMonitorLinux); 52 DISALLOW_COPY_AND_ASSIGN(DeviceMonitorLinux);
53 }; 53 };
54 54
55 } // namespace media 55 } // namespace media
56 56
57 #endif // MEDIA_CAPTURE_DEVICE_MONITOR_UDEV_H_ 57 #endif // DEVICE_CAPTURE_DEVICE_MONITOR_UDEV_H_
OLDNEW
« no previous file with comments | « device/capture/device_monitor_mac.mm ('k') | device/capture/device_monitor_udev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698