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

Unified Diff: ppapi/proxy/video_decoder_resource.h

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/video_capture_resource.h ('k') | ppapi/proxy/video_destination_resource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/video_decoder_resource.h
diff --git a/ppapi/proxy/video_decoder_resource.h b/ppapi/proxy/video_decoder_resource.h
index bcc8906980b1f3812f051f91b56eab0aa5c32fa6..aaa1b9571d4fae0d89609b193ad52e858bf912c2 100644
--- a/ppapi/proxy/video_decoder_resource.h
+++ b/ppapi/proxy/video_decoder_resource.h
@@ -37,37 +37,37 @@ class PPAPI_PROXY_EXPORT VideoDecoderResource
public thunk::PPB_VideoDecoder_API {
public:
VideoDecoderResource(Connection connection, PP_Instance instance);
- virtual ~VideoDecoderResource();
+ ~VideoDecoderResource() override;
// Resource overrides.
- virtual thunk::PPB_VideoDecoder_API* AsPPB_VideoDecoder_API() override;
+ thunk::PPB_VideoDecoder_API* AsPPB_VideoDecoder_API() override;
// PPB_VideoDecoder_API implementation.
- virtual int32_t Initialize0_1(
+ int32_t Initialize0_1(
PP_Resource graphics_context,
PP_VideoProfile profile,
PP_Bool allow_software_fallback,
scoped_refptr<TrackedCallback> callback) override;
- virtual int32_t Initialize(PP_Resource graphics_context,
- PP_VideoProfile profile,
- PP_HardwareAcceleration acceleration,
- scoped_refptr<TrackedCallback> callback) override;
- virtual int32_t Decode(uint32_t decode_id,
- uint32_t size,
- const void* buffer,
- scoped_refptr<TrackedCallback> callback) override;
- virtual int32_t GetPicture0_1(
+ int32_t Initialize(PP_Resource graphics_context,
+ PP_VideoProfile profile,
+ PP_HardwareAcceleration acceleration,
+ scoped_refptr<TrackedCallback> callback) override;
+ int32_t Decode(uint32_t decode_id,
+ uint32_t size,
+ const void* buffer,
+ scoped_refptr<TrackedCallback> callback) override;
+ int32_t GetPicture0_1(
PP_VideoPicture_0_1* picture,
scoped_refptr<TrackedCallback> callback) override;
- virtual int32_t GetPicture(PP_VideoPicture* picture,
- scoped_refptr<TrackedCallback> callback) override;
- virtual void RecyclePicture(const PP_VideoPicture* picture) override;
- virtual int32_t Flush(scoped_refptr<TrackedCallback> callback) override;
- virtual int32_t Reset(scoped_refptr<TrackedCallback> callback) override;
+ int32_t GetPicture(PP_VideoPicture* picture,
+ scoped_refptr<TrackedCallback> callback) override;
+ void RecyclePicture(const PP_VideoPicture* picture) override;
+ int32_t Flush(scoped_refptr<TrackedCallback> callback) override;
+ int32_t Reset(scoped_refptr<TrackedCallback> callback) override;
// PluginResource implementation.
- virtual void OnReplyReceived(const ResourceMessageReplyParams& params,
- const IPC::Message& msg) override;
+ void OnReplyReceived(const ResourceMessageReplyParams& params,
+ const IPC::Message& msg) override;
// Called only by unit tests. This bypasses Graphics3D setup, which doesn't
// work in ppapi::proxy::PluginProxyTest.
« no previous file with comments | « ppapi/proxy/video_capture_resource.h ('k') | ppapi/proxy/video_destination_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698