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_PUBLIC_GPU_GPU_VIDEO_DECODE_ACCELERATOR_FACTORY_H_ | 5 #ifndef CONTENT_PUBLIC_GPU_GPU_VIDEO_DECODE_ACCELERATOR_FACTORY_H_ |
6 #define CONTENT_PUBLIC_GPU_GPU_VIDEO_DECODE_ACCELERATOR_FACTORY_H_ | 6 #define CONTENT_PUBLIC_GPU_GPU_VIDEO_DECODE_ACCELERATOR_FACTORY_H_ |
7 | 7 |
| 8 #include <memory> |
| 9 |
8 #include "base/callback.h" | 10 #include "base/callback.h" |
9 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
10 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
11 #include "gpu/config/gpu_info.h" | 13 #include "gpu/config/gpu_info.h" |
12 #include "media/video/video_decode_accelerator.h" | 14 #include "media/video/video_decode_accelerator.h" |
13 | 15 |
14 namespace gfx { | 16 namespace gfx { |
15 class GLContext; | 17 class GLContext; |
16 } | 18 } |
17 | 19 |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 // GpuVideoDecodeAcceleratorFactory, see crbug.com/597150 and related. | 87 // GpuVideoDecodeAcceleratorFactory, see crbug.com/597150 and related. |
86 GpuVideoDecodeAcceleratorFactory( | 88 GpuVideoDecodeAcceleratorFactory( |
87 std::unique_ptr<GpuVideoDecodeAcceleratorFactoryImpl> gvdafactory_impl); | 89 std::unique_ptr<GpuVideoDecodeAcceleratorFactoryImpl> gvdafactory_impl); |
88 | 90 |
89 std::unique_ptr<GpuVideoDecodeAcceleratorFactoryImpl> gvdafactory_impl_; | 91 std::unique_ptr<GpuVideoDecodeAcceleratorFactoryImpl> gvdafactory_impl_; |
90 }; | 92 }; |
91 | 93 |
92 } // namespace content | 94 } // namespace content |
93 | 95 |
94 #endif // CONTENT_PUBLIC_GPU_GPU_VIDEO_DECODE_ACCELERATOR_FACTORY_H_ | 96 #endif // CONTENT_PUBLIC_GPU_GPU_VIDEO_DECODE_ACCELERATOR_FACTORY_H_ |
OLD | NEW |