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

Unified Diff: media/gpu/accelerated_video_decoder.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/accelerated_video_decoder.h
diff --git a/content/common/gpu/media/accelerated_video_decoder.h b/media/gpu/accelerated_video_decoder.h
similarity index 87%
rename from content/common/gpu/media/accelerated_video_decoder.h
rename to media/gpu/accelerated_video_decoder.h
index 462e631a5a2874614aa153b923bd37d5003b5055..c9b6c29ac8c502051ca49ca2261746827bad7925 100644
--- a/content/common/gpu/media/accelerated_video_decoder.h
+++ b/media/gpu/accelerated_video_decoder.h
@@ -2,23 +2,23 @@
// 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_ACCELERATED_VIDEO_DECODER_H_
-#define CONTENT_COMMON_GPU_MEDIA_ACCELERATED_VIDEO_DECODER_H_
+#ifndef MEDIA_GPU_ACCELERATED_VIDEO_DECODER_H_
+#define MEDIA_GPU_ACCELERATED_VIDEO_DECODER_H_
#include <stddef.h>
#include <stdint.h>
#include "base/macros.h"
-#include "content/common/content_export.h"
+#include "media/gpu/media_gpu_export.h"
#include "ui/gfx/geometry/size.h"
-namespace content {
+namespace media {
// An AcceleratedVideoDecoder is a video decoder that requires support from an
// external accelerator (typically a hardware accelerator) to partially offload
// the decode process after parsing stream headers, and performing reference
// frame and state management.
-class CONTENT_EXPORT AcceleratedVideoDecoder {
+class MEDIA_GPU_EXPORT AcceleratedVideoDecoder {
public:
AcceleratedVideoDecoder() {}
virtual ~AcceleratedVideoDecoder() {}
@@ -61,6 +61,6 @@ class CONTENT_EXPORT AcceleratedVideoDecoder {
DISALLOW_COPY_AND_ASSIGN(AcceleratedVideoDecoder);
};
-} // namespace content
+} // namespace media
-#endif // CONTENT_COMMON_GPU_MEDIA_ACCELERATED_VIDEO_DECODER_H_
+#endif // MEDIA_GPU_ACCELERATED_VIDEO_DECODER_H_

Powered by Google App Engine
This is Rietveld 408576698