| Index: device/capture/device_monitor_udev.h
|
| diff --git a/media/capture/device_monitor_udev.h b/device/capture/device_monitor_udev.h
|
| similarity index 76%
|
| rename from media/capture/device_monitor_udev.h
|
| rename to device/capture/device_monitor_udev.h
|
| index a8f9d8201d9e4453459da92327e4993539a07921..5531189718f1c6f59f05c37f4e9e699305b4d6de 100644
|
| --- a/media/capture/device_monitor_udev.h
|
| +++ b/device/capture/device_monitor_udev.h
|
| @@ -5,8 +5,8 @@
|
| // This class is used to detect device change and notify base::SystemMonitor
|
| // on Linux.
|
|
|
| -#ifndef MEDIA_CAPTURE_DEVICE_MONITOR_UDEV_H_
|
| -#define MEDIA_CAPTURE_DEVICE_MONITOR_UDEV_H_
|
| +#ifndef DEVICE_CAPTURE_DEVICE_MONITOR_UDEV_H_
|
| +#define DEVICE_CAPTURE_DEVICE_MONITOR_UDEV_H_
|
|
|
| #include <memory>
|
|
|
| @@ -14,7 +14,7 @@
|
| #include "base/memory/ref_counted.h"
|
| #include "base/message_loop/message_loop.h"
|
| #include "base/single_thread_task_runner.h"
|
| -#include "media/capture/capture_export.h"
|
| +#include "device/capture/capture_export.h"
|
|
|
| extern "C" {
|
| struct udev_device;
|
| @@ -24,14 +24,14 @@ namespace device {
|
| class UdevLinux;
|
| }
|
|
|
| -namespace media {
|
| +namespace device {
|
|
|
| -class CAPTURE_EXPORT DeviceMonitorLinux
|
| +class CAPTURE_EXPORT DeviceMonitorUdev
|
| : public base::MessageLoop::DestructionObserver {
|
| public:
|
| - explicit DeviceMonitorLinux(
|
| + explicit DeviceMonitorUdev(
|
| const scoped_refptr<base::SingleThreadTaskRunner>& io_task_runner);
|
| - ~DeviceMonitorLinux() override;
|
| + ~DeviceMonitorUdev() override;
|
|
|
| // TODO(mcasas): Consider adding a StartMonitoring() method like
|
| // DeviceMonitorMac to reduce startup impact time.
|
| @@ -49,9 +49,9 @@ class CAPTURE_EXPORT DeviceMonitorLinux
|
|
|
| std::unique_ptr<device::UdevLinux> udev_;
|
|
|
| - DISALLOW_COPY_AND_ASSIGN(DeviceMonitorLinux);
|
| + DISALLOW_COPY_AND_ASSIGN(DeviceMonitorUdev);
|
| };
|
|
|
| -} // namespace media
|
| +} // namespace device
|
|
|
| -#endif // MEDIA_CAPTURE_DEVICE_MONITOR_UDEV_H_
|
| +#endif // DEVICE_CAPTURE_DEVICE_MONITOR_UDEV_H_
|
|
|