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

Unified Diff: media/gpu/android_copying_backing_strategy.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/android_copying_backing_strategy.h
diff --git a/content/common/gpu/media/android_copying_backing_strategy.h b/media/gpu/android_copying_backing_strategy.h
similarity index 82%
rename from content/common/gpu/media/android_copying_backing_strategy.h
rename to media/gpu/android_copying_backing_strategy.h
index 83b6c4ac5d94fb0a605f0585ca92f5f1be42580d..3a131b8262aacfcc3aa2a79b88437269d123ee4e 100644
--- a/content/common/gpu/media/android_copying_backing_strategy.h
+++ b/media/gpu/android_copying_backing_strategy.h
@@ -2,14 +2,14 @@
// 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_ANDROID_COPYING_BACKING_STRATEGY_H_
-#define CONTENT_COMMON_GPU_MEDIA_ANDROID_COPYING_BACKING_STRATEGY_H_
+#ifndef MEDIA_GPU_ANDROID_COPYING_BACKING_STRATEGY_H_
+#define MEDIA_GPU_ANDROID_COPYING_BACKING_STRATEGY_H_
#include <stdint.h>
#include "base/compiler_specific.h"
-#include "content/common/content_export.h"
-#include "content/common/gpu/media/android_video_decode_accelerator.h"
+#include "media/gpu/android_video_decode_accelerator.h"
+#include "media/gpu/media_gpu_export.h"
namespace gpu {
class CopyTextureCHROMIUMResourceManager;
@@ -19,13 +19,13 @@ namespace media {
class PictureBuffer;
}
-namespace content {
+namespace media {
class AVDAStateProvider;
// A BackingStrategy implementation that copies images to PictureBuffer
// textures via gpu texture copy.
-class CONTENT_EXPORT AndroidCopyingBackingStrategy
+class MEDIA_GPU_EXPORT AndroidCopyingBackingStrategy
: public AndroidVideoDecodeAccelerator::BackingStrategy {
public:
explicit AndroidCopyingBackingStrategy(AVDAStateProvider* state_provider);
@@ -63,6 +63,6 @@ class CONTENT_EXPORT AndroidCopyingBackingStrategy
media::VideoCodecBridge* media_codec_;
};
-} // namespace content
+} // namespace media
-#endif // CONTENT_COMMON_GPU_MEDIA_ANDROID_COPYING_BACKING_STRATEGY_H_
+#endif // MEDIA_GPU_ANDROID_COPYING_BACKING_STRATEGY_H_

Powered by Google App Engine
This is Rietveld 408576698