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

Unified Diff: ppapi/proxy/ppb_video_decoder_proxy.cc

Issue 1097393007: Update {virtual,override} to follow C++11 style in ppapi. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Split off one file into separate review. Created 5 years, 8 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 | « ppapi/proxy/ppb_message_loop_proxy.h ('k') | ppapi/proxy/ppb_x509_certificate_private_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_video_decoder_proxy.cc
diff --git a/ppapi/proxy/ppb_video_decoder_proxy.cc b/ppapi/proxy/ppb_video_decoder_proxy.cc
index 779294f033fb25cb9275ca1f748723596b1ffb0d..e63423d64604ccca331540b177777f6d9d74cc91 100644
--- a/ppapi/proxy/ppb_video_decoder_proxy.cc
+++ b/ppapi/proxy/ppb_video_decoder_proxy.cc
@@ -28,21 +28,21 @@ class VideoDecoder : public PPB_VideoDecoder_Shared {
public:
// You must call Init() before using this class.
explicit VideoDecoder(const HostResource& resource);
- virtual ~VideoDecoder();
+ ~VideoDecoder() override;
static VideoDecoder* Create(const HostResource& resource,
PP_Resource graphics_context,
PP_VideoDecoder_Profile profile);
// PPB_VideoDecoder_Dev_API implementation.
- virtual int32_t Decode(const PP_VideoBitstreamBuffer_Dev* bitstream_buffer,
- scoped_refptr<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<TrackedCallback> callback) override;
- virtual int32_t Reset(scoped_refptr<TrackedCallback> callback) override;
- virtual void Destroy() override;
+ int32_t Decode(const PP_VideoBitstreamBuffer_Dev* bitstream_buffer,
+ scoped_refptr<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<TrackedCallback> callback) override;
+ int32_t Reset(scoped_refptr<TrackedCallback> callback) override;
+ void Destroy() override;
private:
friend class PPB_VideoDecoder_Proxy;
« no previous file with comments | « ppapi/proxy/ppb_message_loop_proxy.h ('k') | ppapi/proxy/ppb_x509_certificate_private_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698