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

Unified Diff: content/common/gpu/media/gpu_video_encode_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_encode_accelerator.h
diff --git a/content/common/gpu/media/gpu_video_encode_accelerator.h b/content/common/gpu/media/gpu_video_encode_accelerator.h
index a2b325ac9ab045274dea365bb32188ef2bf5bea7..6f37abb2502a5279776678eefb70d2a73e74df9b 100644
--- a/content/common/gpu/media/gpu_video_encode_accelerator.h
+++ b/content/common/gpu/media/gpu_video_encode_accelerator.h
@@ -31,7 +31,7 @@ class GpuVideoEncodeAccelerator
public GpuCommandBufferStub::DestructionObserver {
public:
GpuVideoEncodeAccelerator(int32 host_route_id, GpuCommandBufferStub* stub);
- virtual ~GpuVideoEncodeAccelerator();
+ ~GpuVideoEncodeAccelerator() override;
// Initialize this accelerator with the given parameters and send
// |init_done_msg| when complete.
@@ -42,19 +42,19 @@ class GpuVideoEncodeAccelerator
IPC::Message* init_done_msg);
// IPC::Listener implementation
- virtual bool OnMessageReceived(const IPC::Message& message) override;
+ bool OnMessageReceived(const IPC::Message& message) override;
// media::VideoEncodeAccelerator::Client implementation.
- virtual void RequireBitstreamBuffers(unsigned int input_count,
- const gfx::Size& input_coded_size,
- size_t output_buffer_size) override;
- virtual void BitstreamBufferReady(int32 bitstream_buffer_id,
- size_t payload_size,
- bool key_frame) override;
- virtual void NotifyError(media::VideoEncodeAccelerator::Error error) override;
+ void RequireBitstreamBuffers(unsigned int input_count,
+ const gfx::Size& input_coded_size,
+ size_t output_buffer_size) override;
+ void BitstreamBufferReady(int32 bitstream_buffer_id,
+ size_t payload_size,
+ bool key_frame) override;
+ void NotifyError(media::VideoEncodeAccelerator::Error error) override;
// GpuCommandBufferStub::DestructionObserver implementation.
- virtual void OnWillDestroyStub() override;
+ void OnWillDestroyStub() override;
// Static query for supported profiles. This query calls the appropriate
// platform-specific version.
« no previous file with comments | « content/common/gpu/media/gpu_video_decode_accelerator.cc ('k') | content/common/gpu/media/vt_video_decode_accelerator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698