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

Unified Diff: media/gpu/generic_v4l2_device.h

Issue 1882373004: Migrate content/common/gpu/media code to media/gpu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix several more bot-identified build issues Created 4 years, 8 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
Index: media/gpu/generic_v4l2_device.h
diff --git a/content/common/gpu/media/generic_v4l2_device.h b/media/gpu/generic_v4l2_device.h
similarity index 89%
rename from content/common/gpu/media/generic_v4l2_device.h
rename to media/gpu/generic_v4l2_device.h
index fa4f135bd57400b8ce017aecc80bf7f5a742713c..dd8de04dfbff25c829ee28fa943a3f1a2a7d153d 100644
--- a/content/common/gpu/media/generic_v4l2_device.h
+++ b/media/gpu/generic_v4l2_device.h
@@ -5,17 +5,17 @@
// This file contains the implementation of GenericV4L2Device used on
// platforms, which provide generic V4L2 video codec devices.
-#ifndef CONTENT_COMMON_GPU_MEDIA_GENERIC_V4L2_DEVICE_H_
-#define CONTENT_COMMON_GPU_MEDIA_GENERIC_V4L2_DEVICE_H_
+#ifndef MEDIA_GPU_GENERIC_V4L2_DEVICE_H_
+#define MEDIA_GPU_GENERIC_V4L2_DEVICE_H_
#include <stddef.h>
#include <stdint.h>
#include "base/files/scoped_file.h"
#include "base/macros.h"
-#include "content/common/gpu/media/v4l2_device.h"
+#include "media/gpu/v4l2_device.h"
-namespace content {
+namespace media {
class GenericV4L2Device : public V4L2Device {
public:
@@ -71,6 +71,6 @@ class GenericV4L2Device : public V4L2Device {
// init failure.
static bool PostSandboxInitialization();
};
-} // namespace content
+} // namespace media
-#endif // CONTENT_COMMON_GPU_MEDIA_GENERIC_V4L2_DEVICE_H_
+#endif // MEDIA_GPU_GENERIC_V4L2_DEVICE_H_

Powered by Google App Engine
This is Rietveld 408576698