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

Unified Diff: media/gpu/fake_video_decode_accelerator.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/fake_video_decode_accelerator.h
diff --git a/content/common/gpu/media/fake_video_decode_accelerator.h b/media/gpu/fake_video_decode_accelerator.h
similarity index 83%
rename from content/common/gpu/media/fake_video_decode_accelerator.h
rename to media/gpu/fake_video_decode_accelerator.h
index 10d47822b45faac4a0d1bcc3c5041138751903cc..b894052739a5f21f520cef3e69301c47d3595208 100644
--- a/content/common/gpu/media/fake_video_decode_accelerator.h
+++ b/media/gpu/fake_video_decode_accelerator.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_COMMON_GPU_MEDIA_FAKE_VIDEO_DECODE_ACCELERATOR_H_
-#define CONTENT_COMMON_GPU_MEDIA_FAKE_VIDEO_DECODE_ACCELERATOR_H_
+#ifndef MEDIA_GPU_FAKE_VIDEO_DECODE_ACCELERATOR_H_
+#define MEDIA_GPU_FAKE_VIDEO_DECODE_ACCELERATOR_H_
#include <stdint.h>
@@ -12,15 +12,15 @@
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
-#include "content/common/content_export.h"
-#include "content/common/gpu/media/gpu_video_decode_accelerator_helpers.h"
+#include "media/gpu/gpu_video_decode_accelerator_helpers.h"
+#include "media/gpu/media_gpu_export.h"
#include "media/video/video_decode_accelerator.h"
#include "ui/gfx/geometry/size_f.h"
#include "ui/gl/gl_context.h"
-namespace content {
+namespace media {
-class CONTENT_EXPORT FakeVideoDecodeAccelerator
+class MEDIA_GPU_EXPORT FakeVideoDecodeAccelerator
: public media::VideoDecodeAccelerator {
public:
FakeVideoDecodeAccelerator(
@@ -70,6 +70,6 @@ class CONTENT_EXPORT FakeVideoDecodeAccelerator
DISALLOW_COPY_AND_ASSIGN(FakeVideoDecodeAccelerator);
};
-} // namespace content
+} // namespace media
-#endif // CONTENT_COMMON_GPU_MEDIA_FAKE_VIDEO_DECODE_ACCELERATOR_H_
+#endif // MEDIA_GPU_FAKE_VIDEO_DECODE_ACCELERATOR_H_

Powered by Google App Engine
This is Rietveld 408576698