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

Unified Diff: ppapi/proxy/video_capture_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/url_response_info_resource.h ('k') | ppapi/proxy/video_decoder_resource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/video_capture_resource.h
diff --git a/ppapi/proxy/video_capture_resource.h b/ppapi/proxy/video_capture_resource.h
index d0ea0a75b97c7dbe444c5c0475ed9c10dfa097e7..add971361294175db7fe619c0c3598cae4348f7b 100644
--- a/ppapi/proxy/video_capture_resource.h
+++ b/ppapi/proxy/video_capture_resource.h
@@ -21,33 +21,33 @@ class VideoCaptureResource
VideoCaptureResource(Connection connection,
PP_Instance instance,
PluginDispatcher* dispatcher);
- virtual ~VideoCaptureResource();
+ ~VideoCaptureResource() override;
// PluginResource override.
- virtual thunk::PPB_VideoCapture_API* AsPPB_VideoCapture_API() override {
+ thunk::PPB_VideoCapture_API* AsPPB_VideoCapture_API() override {
return this;
}
// PPB_VideoCapture_API implementation.
- virtual int32_t EnumerateDevices(
+ int32_t EnumerateDevices(
const PP_ArrayOutput& output,
scoped_refptr<TrackedCallback> callback) override;
- virtual int32_t MonitorDeviceChange(
+ int32_t MonitorDeviceChange(
PP_MonitorDeviceChangeCallback callback,
void* user_data) override;
- virtual int32_t Open(const std::string& device_id,
- const PP_VideoCaptureDeviceInfo_Dev& requested_info,
- uint32_t buffer_count,
- scoped_refptr<TrackedCallback> callback) override;
- virtual int32_t StartCapture() override;
- virtual int32_t ReuseBuffer(uint32_t buffer) override;
- virtual int32_t StopCapture() override;
- virtual void Close() override;
- virtual int32_t EnumerateDevicesSync(const PP_ArrayOutput& devices) override;
+ int32_t Open(const std::string& device_id,
+ const PP_VideoCaptureDeviceInfo_Dev& requested_info,
+ uint32_t buffer_count,
+ scoped_refptr<TrackedCallback> callback) override;
+ int32_t StartCapture() override;
+ int32_t ReuseBuffer(uint32_t buffer) override;
+ int32_t StopCapture() override;
+ void Close() override;
+ int32_t EnumerateDevicesSync(const PP_ArrayOutput& devices) override;
protected:
// Resource override.
- virtual void LastPluginRefWasDeleted() override;
+ void LastPluginRefWasDeleted() override;
private:
enum OpenState {
@@ -57,8 +57,8 @@ class VideoCaptureResource
};
// PluginResource overrides.
- virtual void OnReplyReceived(const ResourceMessageReplyParams& params,
- const IPC::Message& msg) override;
+ void OnReplyReceived(const ResourceMessageReplyParams& params,
+ const IPC::Message& msg) override;
void OnPluginMsgOnDeviceInfo(const ResourceMessageReplyParams& params,
const struct PP_VideoCaptureDeviceInfo_Dev& info,
« no previous file with comments | « ppapi/proxy/url_response_info_resource.h ('k') | ppapi/proxy/video_decoder_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698