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

Unified Diff: content/common/gpu/client/gpu_video_decode_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
Index: content/common/gpu/client/gpu_video_decode_accelerator_host.h
diff --git a/content/common/gpu/client/gpu_video_decode_accelerator_host.h b/content/common/gpu/client/gpu_video_decode_accelerator_host.h
index 6eb1e51d720a77742c0a387e9aee085efe4d11df..4cbeeb1272ddab41b5b14bb829d4c6258f6df8ea 100644
--- a/content/common/gpu/client/gpu_video_decode_accelerator_host.h
+++ b/content/common/gpu/client/gpu_video_decode_accelerator_host.h
@@ -31,26 +31,25 @@ class GpuVideoDecodeAcceleratorHost
CommandBufferProxyImpl* impl);
// IPC::Listener implementation.
- virtual void OnChannelError() override;
- virtual bool OnMessageReceived(const IPC::Message& message) override;
+ void OnChannelError() override;
+ bool OnMessageReceived(const IPC::Message& message) override;
// media::VideoDecodeAccelerator implementation.
- virtual bool Initialize(media::VideoCodecProfile profile,
- Client* client) override;
- virtual void Decode(const media::BitstreamBuffer& bitstream_buffer) override;
- virtual void AssignPictureBuffers(
+ bool Initialize(media::VideoCodecProfile profile, Client* client) override;
+ void Decode(const media::BitstreamBuffer& bitstream_buffer) override;
+ void AssignPictureBuffers(
const std::vector<media::PictureBuffer>& buffers) override;
- virtual void ReusePictureBuffer(int32 picture_buffer_id) override;
- virtual void Flush() override;
- virtual void Reset() override;
- virtual void Destroy() override;
+ void ReusePictureBuffer(int32 picture_buffer_id) override;
+ void Flush() override;
+ void Reset() override;
+ void Destroy() override;
// CommandBufferProxyImpl::DeletionObserver implemetnation.
- virtual void OnWillDeleteImpl() override;
+ void OnWillDeleteImpl() override;
private:
// Only Destroy() should be deleting |this|.
- virtual ~GpuVideoDecodeAcceleratorHost();
+ ~GpuVideoDecodeAcceleratorHost() override;
// Notify |client_| of an error. Posts a task to avoid re-entrancy.
void PostNotifyError(Error);

Powered by Google App Engine
This is Rietveld 408576698