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

Unified Diff: device/capture/device_monitor_udev.h

Issue 2214533002: move //media/capture to //device/capture (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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« 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