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

Unified Diff: content/renderer/pepper/ppb_video_decoder_impl.h

Issue 670683003: Standardize usage of virtual/override/final in content/renderer/ (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/renderer/pepper/ppb_scrollbar_impl.h ('k') | content/renderer/pepper/ppb_widget_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/ppb_video_decoder_impl.h
diff --git a/content/renderer/pepper/ppb_video_decoder_impl.h b/content/renderer/pepper/ppb_video_decoder_impl.h
index 6fdd36adddbe2b6faa94f82c1f677a21e07a84dd..e3037b9eb5a85c70ed19001938ea184ab7ea5207 100644
--- a/content/renderer/pepper/ppb_video_decoder_impl.h
+++ b/content/renderer/pepper/ppb_video_decoder_impl.h
@@ -32,32 +32,28 @@ class PPB_VideoDecoder_Impl : public ppapi::PPB_VideoDecoder_Shared,
PP_VideoDecoder_Profile profile);
// PPB_VideoDecoder_Dev_API implementation.
- virtual int32_t Decode(const PP_VideoBitstreamBuffer_Dev* bitstream_buffer,
- scoped_refptr<ppapi::TrackedCallback> callback)
- override;
- virtual void AssignPictureBuffers(uint32_t no_of_buffers,
- const PP_PictureBuffer_Dev* buffers)
- override;
- virtual void ReusePictureBuffer(int32_t picture_buffer_id) override;
- virtual int32_t Flush(scoped_refptr<ppapi::TrackedCallback> callback)
- override;
- virtual int32_t Reset(scoped_refptr<ppapi::TrackedCallback> callback)
- override;
- virtual void Destroy() override;
+ int32_t Decode(const PP_VideoBitstreamBuffer_Dev* bitstream_buffer,
+ scoped_refptr<ppapi::TrackedCallback> callback) override;
+ void AssignPictureBuffers(uint32_t no_of_buffers,
+ const PP_PictureBuffer_Dev* buffers) override;
+ void ReusePictureBuffer(int32_t picture_buffer_id) override;
+ int32_t Flush(scoped_refptr<ppapi::TrackedCallback> callback) override;
+ int32_t Reset(scoped_refptr<ppapi::TrackedCallback> callback) override;
+ void Destroy() 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 NotifyFlushDone() override;
- virtual void NotifyEndOfBitstreamBuffer(int32 buffer_id) 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 NotifyFlushDone() override;
+ void NotifyEndOfBitstreamBuffer(int32 buffer_id) override;
+ void NotifyResetDone() override;
private:
- virtual ~PPB_VideoDecoder_Impl();
+ ~PPB_VideoDecoder_Impl() override;
explicit PPB_VideoDecoder_Impl(PP_Instance instance);
bool Init(PP_Resource graphics_context,
« no previous file with comments | « content/renderer/pepper/ppb_scrollbar_impl.h ('k') | content/renderer/pepper/ppb_widget_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698