| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 MEDIA_RENDERERS_GPU_VIDEO_ACCELERATOR_FACTORIES_H_ | 5 #ifndef MEDIA_RENDERERS_GPU_VIDEO_ACCELERATOR_FACTORIES_H_ |
| 6 #define MEDIA_RENDERERS_GPU_VIDEO_ACCELERATOR_FACTORIES_H_ | 6 #define MEDIA_RENDERERS_GPU_VIDEO_ACCELERATOR_FACTORIES_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 | 63 |
| 64 // Returns the task runner the video accelerator runs on. | 64 // Returns the task runner the video accelerator runs on. |
| 65 virtual scoped_refptr<base::SingleThreadTaskRunner> GetTaskRunner() = 0; | 65 virtual scoped_refptr<base::SingleThreadTaskRunner> GetTaskRunner() = 0; |
| 66 | 66 |
| 67 // Returns the supported codec profiles of video encode accelerator. | 67 // Returns the supported codec profiles of video encode accelerator. |
| 68 virtual std::vector<VideoEncodeAccelerator::SupportedProfile> | 68 virtual std::vector<VideoEncodeAccelerator::SupportedProfile> |
| 69 GetVideoEncodeAcceleratorSupportedProfiles() = 0; | 69 GetVideoEncodeAcceleratorSupportedProfiles() = 0; |
| 70 | 70 |
| 71 protected: | 71 protected: |
| 72 friend class base::RefCountedThreadSafe<GpuVideoAcceleratorFactories>; | 72 friend class base::RefCountedThreadSafe<GpuVideoAcceleratorFactories>; |
| 73 virtual ~GpuVideoAcceleratorFactories(); | 73 virtual ~GpuVideoAcceleratorFactories() {} |
| 74 }; | 74 }; |
| 75 | 75 |
| 76 } // namespace media | 76 } // namespace media |
| 77 | 77 |
| 78 #endif // MEDIA_RENDERERS_GPU_VIDEO_ACCELERATOR_FACTORIES_H_ | 78 #endif // MEDIA_RENDERERS_GPU_VIDEO_ACCELERATOR_FACTORIES_H_ |
| OLD | NEW |