Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(797)

Unified Diff: content/common/gpu/client/gpu_video_encode_accelerator_host.h

Issue 671663002: Standardize usage of virtual/override/final in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/gpu/client/gpu_video_decode_accelerator_host.h ('k') | content/common/gpu/gpu_channel.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « content/common/gpu/client/gpu_video_decode_accelerator_host.h ('k') | content/common/gpu/gpu_channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698