Index: content/common/gpu/client/gpu_video_encode_accelerator_host.h |
diff --git a/content/common/gpu/client/gpu_video_encode_accelerator_host.h b/content/common/gpu/client/gpu_video_encode_accelerator_host.h |
index f4121aed1bebac926dc05770967c1a1fe80564da..021eff46ec160a51f3784b2f43bbc8f2477b8e78 100644 |
--- a/content/common/gpu/client/gpu_video_encode_accelerator_host.h |
+++ b/content/common/gpu/client/gpu_video_encode_accelerator_host.h |
@@ -12,6 +12,7 @@ |
#include "base/memory/weak_ptr.h" |
#include "base/threading/non_thread_safe.h" |
#include "content/common/gpu/client/command_buffer_proxy_impl.h" |
+#include "gpu/config/gpu_info.h" |
#include "ipc/ipc_listener.h" |
#include "media/video/video_encode_accelerator.h" |
@@ -44,6 +45,10 @@ class GpuVideoEncodeAcceleratorHost |
GpuVideoEncodeAcceleratorHost(GpuChannelHost* channel, |
CommandBufferProxyImpl* impl); |
+ static std::vector<media::VideoEncodeAccelerator::SupportedProfile> |
+ ConvertGpuToMediaProfiles(const std::vector< |
+ gpu::VideoEncodeAcceleratorSupportedProfile>& gpu_profiles); |
+ |
// IPC::Listener implementation. |
bool OnMessageReceived(const IPC::Message& message) override; |
void OnChannelError() override; |