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

Unified Diff: media/gpu/gpu_video_decode_accelerator_factory.h

Issue 2178603002: Rename media::GpuVideoDecodeAcceleratorFactoryImpl to media::GpuVideoDecodeAcceleratorFactory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@explicit_gpu_preferences
Patch Set: rebase Created 4 years, 5 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
« no previous file with comments | « media/gpu/BUILD.gn ('k') | media/gpu/gpu_video_decode_accelerator_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/gpu_video_decode_accelerator_factory.h
diff --git a/media/gpu/gpu_video_decode_accelerator_factory_impl.h b/media/gpu/gpu_video_decode_accelerator_factory.h
similarity index 88%
rename from media/gpu/gpu_video_decode_accelerator_factory_impl.h
rename to media/gpu/gpu_video_decode_accelerator_factory.h
index 998e888a9796ba3af4b1a08da89abcfdabbf7202..29d1d7aa1886613c0b1c95119f5b6b86370a9411 100644
--- a/media/gpu/gpu_video_decode_accelerator_factory_impl.h
+++ b/media/gpu/gpu_video_decode_accelerator_factory.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 MEDIA_GPU_GPU_VIDEO_DECODE_ACCELERATOR_FACTORY_IMPL_H_
-#define MEDIA_GPU_GPU_VIDEO_DECODE_ACCELERATOR_FACTORY_IMPL_H_
+#ifndef MEDIA_GPU_GPU_VIDEO_DECODE_ACCELERATOR_FACTORY_H_
+#define MEDIA_GPU_GPU_VIDEO_DECODE_ACCELERATOR_FACTORY_H_
#include <memory>
@@ -30,9 +30,9 @@ class GLES2Decoder;
namespace media {
-class MEDIA_GPU_EXPORT GpuVideoDecodeAcceleratorFactoryImpl {
+class MEDIA_GPU_EXPORT GpuVideoDecodeAcceleratorFactory {
public:
- ~GpuVideoDecodeAcceleratorFactoryImpl();
+ ~GpuVideoDecodeAcceleratorFactory();
// Return current GLContext.
using GetGLContextCallback = base::Callback<gl::GLContext*(void)>;
@@ -55,19 +55,19 @@ class MEDIA_GPU_EXPORT GpuVideoDecodeAcceleratorFactoryImpl {
using GetGLES2DecoderCallback =
base::Callback<base::WeakPtr<gpu::gles2::GLES2Decoder>(void)>;
- static std::unique_ptr<GpuVideoDecodeAcceleratorFactoryImpl> Create(
+ static std::unique_ptr<GpuVideoDecodeAcceleratorFactory> Create(
const GetGLContextCallback& get_gl_context_cb,
const MakeGLContextCurrentCallback& make_context_current_cb,
const BindGLImageCallback& bind_image_cb);
- static std::unique_ptr<GpuVideoDecodeAcceleratorFactoryImpl>
+ static std::unique_ptr<GpuVideoDecodeAcceleratorFactory>
CreateWithGLES2Decoder(
const GetGLContextCallback& get_gl_context_cb,
const MakeGLContextCurrentCallback& make_context_current_cb,
const BindGLImageCallback& bind_image_cb,
const GetGLES2DecoderCallback& get_gles2_decoder_cb);
- static std::unique_ptr<GpuVideoDecodeAcceleratorFactoryImpl> CreateWithNoGL();
+ static std::unique_ptr<GpuVideoDecodeAcceleratorFactory> CreateWithNoGL();
static gpu::VideoDecodeAcceleratorCapabilities GetDecoderCapabilities(
const gpu::GpuPreferences& gpu_preferences);
@@ -79,7 +79,7 @@ class MEDIA_GPU_EXPORT GpuVideoDecodeAcceleratorFactoryImpl {
const gpu::GpuPreferences& gpu_preferences);
private:
- GpuVideoDecodeAcceleratorFactoryImpl(
+ GpuVideoDecodeAcceleratorFactory(
const GetGLContextCallback& get_gl_context_cb,
const MakeGLContextCurrentCallback& make_context_current_cb,
const BindGLImageCallback& bind_image_cb,
@@ -121,9 +121,9 @@ class MEDIA_GPU_EXPORT GpuVideoDecodeAcceleratorFactoryImpl {
base::ThreadChecker thread_checker_;
- DISALLOW_IMPLICIT_CONSTRUCTORS(GpuVideoDecodeAcceleratorFactoryImpl);
+ DISALLOW_IMPLICIT_CONSTRUCTORS(GpuVideoDecodeAcceleratorFactory);
};
} // namespace media
-#endif // MEDIA_GPU_GPU_VIDEO_DECODE_ACCELERATOR_FACTORY_IMPL_H_
+#endif // MEDIA_GPU_GPU_VIDEO_DECODE_ACCELERATOR_FACTORY_H_
« no previous file with comments | « media/gpu/BUILD.gn ('k') | media/gpu/gpu_video_decode_accelerator_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698