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

Unified Diff: content/browser/renderer_host/media/video_capture_host.h

Issue 667943003: Standardize usage of virtual/override/final in content/browser/ (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/browser/renderer_host/media/video_capture_host.h
diff --git a/content/browser/renderer_host/media/video_capture_host.h b/content/browser/renderer_host/media/video_capture_host.h
index cf6e73fc605f4d1c0afee3091ed4a8dba889fd29..1fd9813760e8f07abe0fc81557c7a8b3dbd0aece 100644
--- a/content/browser/renderer_host/media/video_capture_host.h
+++ b/content/browser/renderer_host/media/video_capture_host.h
@@ -71,29 +71,29 @@ class CONTENT_EXPORT VideoCaptureHost
explicit VideoCaptureHost(MediaStreamManager* media_stream_manager);
// BrowserMessageFilter implementation.
- virtual void OnChannelClosing() override;
- virtual void OnDestruct() const override;
- virtual bool OnMessageReceived(const IPC::Message& message) override;
+ void OnChannelClosing() override;
+ void OnDestruct() const override;
+ bool OnMessageReceived(const IPC::Message& message) override;
// VideoCaptureControllerEventHandler implementation.
- virtual void OnError(const VideoCaptureControllerID& id) override;
- virtual void OnBufferCreated(const VideoCaptureControllerID& id,
- base::SharedMemoryHandle handle,
- int length,
- int buffer_id) override;
- virtual void OnBufferDestroyed(const VideoCaptureControllerID& id,
- int buffer_id) override;
- virtual void OnBufferReady(const VideoCaptureControllerID& id,
- int buffer_id,
- const media::VideoCaptureFormat& format,
- const gfx::Rect& visible_rect,
- base::TimeTicks timestamp) override;
- virtual void OnMailboxBufferReady(const VideoCaptureControllerID& id,
- int buffer_id,
- const gpu::MailboxHolder& mailbox_holder,
- const media::VideoCaptureFormat& format,
- base::TimeTicks timestamp) override;
- virtual void OnEnded(const VideoCaptureControllerID& id) override;
+ void OnError(const VideoCaptureControllerID& id) override;
+ void OnBufferCreated(const VideoCaptureControllerID& id,
+ base::SharedMemoryHandle handle,
+ int length,
+ int buffer_id) override;
+ void OnBufferDestroyed(const VideoCaptureControllerID& id,
+ int buffer_id) override;
+ void OnBufferReady(const VideoCaptureControllerID& id,
+ int buffer_id,
+ const media::VideoCaptureFormat& format,
+ const gfx::Rect& visible_rect,
+ base::TimeTicks timestamp) override;
+ void OnMailboxBufferReady(const VideoCaptureControllerID& id,
+ int buffer_id,
+ const gpu::MailboxHolder& mailbox_holder,
+ const media::VideoCaptureFormat& format,
+ base::TimeTicks timestamp) override;
+ void OnEnded(const VideoCaptureControllerID& id) override;
private:
friend class BrowserThread;
@@ -101,7 +101,7 @@ class CONTENT_EXPORT VideoCaptureHost
friend class MockVideoCaptureHost;
friend class VideoCaptureHostTest;
- virtual ~VideoCaptureHost();
+ ~VideoCaptureHost() override;
// IPC message: Start capture on the VideoCaptureDevice referenced by
// |session_id|. |device_id| is an id created by VideoCaptureMessageFilter

Powered by Google App Engine
This is Rietveld 408576698