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

Unified Diff: content/common/gpu/media/gpu_video_decode_accelerator.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/media/gpu_video_decode_accelerator.h
diff --git a/content/common/gpu/media/gpu_video_decode_accelerator.h b/content/common/gpu/media/gpu_video_decode_accelerator.h
index 1655e96ad27580c2c44c17c75ea4aac90279af4e..e59a76fb5c35169dd4b0fab8cb448e9bc02a46b3 100644
--- a/content/common/gpu/media/gpu_video_decode_accelerator.h
+++ b/content/common/gpu/media/gpu_video_decode_accelerator.h
@@ -40,24 +40,24 @@ class GpuVideoDecodeAccelerator
const scoped_refptr<base::MessageLoopProxy>& io_message_loop);
// IPC::Listener implementation.
- virtual bool OnMessageReceived(const IPC::Message& message) override;
+ bool OnMessageReceived(const IPC::Message& message) override;
// media::VideoDecodeAccelerator::Client implementation.
- virtual void ProvidePictureBuffers(uint32 requested_num_of_buffers,
- const gfx::Size& dimensions,
- uint32 texture_target) override;
- virtual void DismissPictureBuffer(int32 picture_buffer_id) override;
- virtual void PictureReady(const media::Picture& picture) override;
- virtual void NotifyError(media::VideoDecodeAccelerator::Error error) override;
- virtual void NotifyEndOfBitstreamBuffer(int32 bitstream_buffer_id) override;
- virtual void NotifyFlushDone() override;
- virtual void NotifyResetDone() override;
+ void ProvidePictureBuffers(uint32 requested_num_of_buffers,
+ const gfx::Size& dimensions,
+ uint32 texture_target) override;
+ void DismissPictureBuffer(int32 picture_buffer_id) override;
+ void PictureReady(const media::Picture& picture) override;
+ void NotifyError(media::VideoDecodeAccelerator::Error error) override;
+ void NotifyEndOfBitstreamBuffer(int32 bitstream_buffer_id) override;
+ void NotifyFlushDone() override;
+ void NotifyResetDone() override;
// GpuCommandBufferStub::DestructionObserver implementation.
- virtual void OnWillDestroyStub() override;
+ void OnWillDestroyStub() override;
// Function to delegate sending to actual sender.
- virtual bool Send(IPC::Message* message) override;
+ bool Send(IPC::Message* message) override;
// Initialize the accelerator with the given profile and send the
// |init_done_msg| when done.
@@ -68,7 +68,7 @@ class GpuVideoDecodeAccelerator
class MessageFilter;
// We only allow self-delete, from OnWillDestroyStub(), after cleanup there.
- virtual ~GpuVideoDecodeAccelerator();
+ ~GpuVideoDecodeAccelerator() override;
// Handlers for IPC messages.
void OnDecode(base::SharedMemoryHandle handle, int32 id, uint32 size);
« no previous file with comments | « content/common/gpu/image_transport_surface_mac.mm ('k') | content/common/gpu/media/gpu_video_decode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698