| 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 62ae1dadfd5accb845a561dc58388718fbdcae8a..f4121aed1bebac926dc05770967c1a1fe80564da 100644
|
| --- a/content/common/gpu/client/gpu_video_encode_accelerator_host.h
|
| +++ b/content/common/gpu/client/gpu_video_encode_accelerator_host.h
|
| @@ -45,30 +45,29 @@ class GpuVideoEncodeAcceleratorHost
|
| CommandBufferProxyImpl* impl);
|
|
|
| // IPC::Listener implementation.
|
| - virtual bool OnMessageReceived(const IPC::Message& message) override;
|
| - virtual void OnChannelError() override;
|
| + bool OnMessageReceived(const IPC::Message& message) override;
|
| + void OnChannelError() override;
|
|
|
| // media::VideoEncodeAccelerator implementation.
|
| - virtual std::vector<SupportedProfile> GetSupportedProfiles() override;
|
| - virtual bool Initialize(media::VideoFrame::Format input_format,
|
| - const gfx::Size& input_visible_size,
|
| - media::VideoCodecProfile output_profile,
|
| - uint32 initial_bitrate,
|
| - Client* client) override;
|
| - virtual void Encode(const scoped_refptr<media::VideoFrame>& frame,
|
| - bool force_keyframe) override;
|
| - virtual void UseOutputBitstreamBuffer(
|
| - const media::BitstreamBuffer& buffer) override;
|
| - virtual void RequestEncodingParametersChange(uint32 bitrate,
|
| - uint32 framerate_num) override;
|
| - virtual void Destroy() override;
|
| + std::vector<SupportedProfile> GetSupportedProfiles() override;
|
| + bool Initialize(media::VideoFrame::Format input_format,
|
| + const gfx::Size& input_visible_size,
|
| + media::VideoCodecProfile output_profile,
|
| + uint32 initial_bitrate,
|
| + Client* client) override;
|
| + void Encode(const scoped_refptr<media::VideoFrame>& frame,
|
| + bool force_keyframe) override;
|
| + void UseOutputBitstreamBuffer(const media::BitstreamBuffer& buffer) override;
|
| + void RequestEncodingParametersChange(uint32 bitrate,
|
| + uint32 framerate_num) override;
|
| + void Destroy() override;
|
|
|
| // CommandBufferProxyImpl::DeletionObserver implemetnation.
|
| - virtual void OnWillDeleteImpl() override;
|
| + void OnWillDeleteImpl() override;
|
|
|
| private:
|
| // Only Destroy() should be deleting |this|.
|
| - virtual ~GpuVideoEncodeAcceleratorHost();
|
| + ~GpuVideoEncodeAcceleratorHost() override;
|
|
|
| // Notify |client_| of an error. Posts a task to avoid re-entrancy.
|
| void PostNotifyError(Error);
|
|
|