OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_COMMON_GPU_MEDIA_GPU_VIDEO_DECODE_ACCELERATOR_FACTORY_IMPL_H_ | 5 #ifndef CONTENT_COMMON_GPU_MEDIA_GPU_VIDEO_DECODE_ACCELERATOR_FACTORY_IMPL_H_ |
6 #define CONTENT_COMMON_GPU_MEDIA_GPU_VIDEO_DECODE_ACCELERATOR_FACTORY_IMPL_H_ | 6 #define CONTENT_COMMON_GPU_MEDIA_GPU_VIDEO_DECODE_ACCELERATOR_FACTORY_IMPL_H_ |
7 | 7 |
| 8 #include <memory> |
| 9 |
8 #include "base/callback.h" | 10 #include "base/callback.h" |
9 #include "base/threading/thread_checker.h" | 11 #include "base/threading/thread_checker.h" |
10 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
11 #include "gpu/command_buffer/service/gpu_preferences.h" | 13 #include "gpu/command_buffer/service/gpu_preferences.h" |
12 #include "gpu/config/gpu_info.h" | 14 #include "gpu/config/gpu_info.h" |
13 #include "media/video/video_decode_accelerator.h" | 15 #include "media/video/video_decode_accelerator.h" |
14 | 16 |
15 namespace gfx { | 17 namespace gfx { |
16 class GLContext; | 18 class GLContext; |
17 } | 19 } |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 const GetGLES2DecoderCallback get_gles2_decoder_cb_; | 116 const GetGLES2DecoderCallback get_gles2_decoder_cb_; |
115 | 117 |
116 base::ThreadChecker thread_checker_; | 118 base::ThreadChecker thread_checker_; |
117 | 119 |
118 DISALLOW_IMPLICIT_CONSTRUCTORS(GpuVideoDecodeAcceleratorFactoryImpl); | 120 DISALLOW_IMPLICIT_CONSTRUCTORS(GpuVideoDecodeAcceleratorFactoryImpl); |
119 }; | 121 }; |
120 | 122 |
121 } // namespace content | 123 } // namespace content |
122 | 124 |
123 #endif // CONTENT_COMMON_GPU_MEDIA_GPU_VIDEO_DECODE_ACCELERATOR_FACTORY_IMPL_H_ | 125 #endif // CONTENT_COMMON_GPU_MEDIA_GPU_VIDEO_DECODE_ACCELERATOR_FACTORY_IMPL_H_ |
OLD | NEW |