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

Unified Diff: media/gpu/vt_video_encode_accelerator_mac.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/vt_video_encode_accelerator_mac.h
diff --git a/content/common/gpu/media/vt_video_encode_accelerator_mac.h b/media/gpu/vt_video_encode_accelerator_mac.h
similarity index 94%
rename from content/common/gpu/media/vt_video_encode_accelerator_mac.h
rename to media/gpu/vt_video_encode_accelerator_mac.h
index adb2584cd6770cc37237dd9a02f26d5838bd6bec..877bd638e6085677b9d7b8f3e09be0d6bea2b022 100644
--- a/content/common/gpu/media/vt_video_encode_accelerator_mac.h
+++ b/media/gpu/vt_video_encode_accelerator_mac.h
@@ -2,21 +2,21 @@
// 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_VT_VIDEO_ENCODE_ACCELERATOR_MAC_H_
-#define CONTENT_COMMON_GPU_MEDIA_VT_VIDEO_ENCODE_ACCELERATOR_MAC_H_
+#ifndef MEDIA_GPU_VT_VIDEO_ENCODE_ACCELERATOR_MAC_H_
+#define MEDIA_GPU_VT_VIDEO_ENCODE_ACCELERATOR_MAC_H_
#include "base/mac/scoped_cftyperef.h"
-#include "content/common/content_export.h"
#include "media/base/mac/videotoolbox_glue.h"
#include "media/base/mac/videotoolbox_helpers.h"
+#include "media/gpu/media_gpu_export.h"
#include "media/video/video_encode_accelerator.h"
-namespace content {
+namespace media {
// VideoToolbox.framework implementation of the VideoEncodeAccelerator
// interface for MacOSX. VideoToolbox makes no guarantees that it is thread
// safe, so this object is pinned to the thread on which it is constructed.
-class CONTENT_EXPORT VTVideoEncodeAccelerator
+class MEDIA_GPU_EXPORT VTVideoEncodeAccelerator
: public media::VideoEncodeAccelerator {
public:
VTVideoEncodeAccelerator();
@@ -138,6 +138,6 @@ class CONTENT_EXPORT VTVideoEncodeAccelerator
DISALLOW_COPY_AND_ASSIGN(VTVideoEncodeAccelerator);
};
-} // namespace content
+} // namespace media
-#endif // CONTENT_COMMON_GPU_MEDIA_VT_VIDEO_ENCODE_ACCELERATOR_MAC_H_
+#endif // MEDIA_GPU_VT_VIDEO_ENCODE_ACCELERATOR_MAC_H_

Powered by Google App Engine
This is Rietveld 408576698