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

Unified Diff: content/renderer/media/video_capture_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
Index: content/renderer/media/video_capture_impl.h
diff --git a/content/renderer/media/video_capture_impl.h b/content/renderer/media/video_capture_impl.h
index 746f9e81e45f7333377cb39fc5d765f728595cb8..4b39d549d02815f0a35604b4fa8f4f80d39ced32 100644
--- a/content/renderer/media/video_capture_impl.h
+++ b/content/renderer/media/video_capture_impl.h
@@ -48,7 +48,7 @@ namespace content {
class CONTENT_EXPORT VideoCaptureImpl
: public VideoCaptureMessageFilter::Delegate {
public:
- virtual ~VideoCaptureImpl();
+ ~VideoCaptureImpl() override;
VideoCaptureImpl(media::VideoCaptureSessionId session_id,
VideoCaptureMessageFilter* filter);
@@ -108,24 +108,24 @@ class CONTENT_EXPORT VideoCaptureImpl
typedef std::map<int, ClientInfo> ClientInfoMap;
// VideoCaptureMessageFilter::Delegate interface.
- virtual void OnBufferCreated(base::SharedMemoryHandle handle,
- int length,
- int buffer_id) override;
- virtual void OnBufferDestroyed(int buffer_id) override;
- virtual void OnBufferReceived(int buffer_id,
- const media::VideoCaptureFormat& format,
- const gfx::Rect& visible_rect,
- base::TimeTicks) override;
- virtual void OnMailboxBufferReceived(int buffer_id,
- const gpu::MailboxHolder& mailbox_holder,
- const media::VideoCaptureFormat& format,
- base::TimeTicks timestamp) override;
- virtual void OnStateChanged(VideoCaptureState state) override;
- virtual void OnDeviceSupportedFormatsEnumerated(
+ void OnBufferCreated(base::SharedMemoryHandle handle,
+ int length,
+ int buffer_id) override;
+ void OnBufferDestroyed(int buffer_id) override;
+ void OnBufferReceived(int buffer_id,
+ const media::VideoCaptureFormat& format,
+ const gfx::Rect& visible_rect,
+ base::TimeTicks) override;
+ void OnMailboxBufferReceived(int buffer_id,
+ const gpu::MailboxHolder& mailbox_holder,
+ const media::VideoCaptureFormat& format,
+ base::TimeTicks timestamp) override;
+ void OnStateChanged(VideoCaptureState state) override;
+ void OnDeviceSupportedFormatsEnumerated(
const media::VideoCaptureFormats& supported_formats) override;
- virtual void OnDeviceFormatsInUseReceived(
+ void OnDeviceFormatsInUseReceived(
const media::VideoCaptureFormats& formats_in_use) override;
- virtual void OnDelegateAdded(int32 device_id) override;
+ void OnDelegateAdded(int32 device_id) override;
// Sends an IPC message to browser process when all clients are done with the
// buffer.

Powered by Google App Engine
This is Rietveld 408576698