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

Unified Diff: content/renderer/media/video_capture_impl_manager_unittest.cc

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
« no previous file with comments | « content/renderer/media/video_capture_impl.h ('k') | content/renderer/media/video_capture_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/video_capture_impl_manager_unittest.cc
diff --git a/content/renderer/media/video_capture_impl_manager_unittest.cc b/content/renderer/media/video_capture_impl_manager_unittest.cc
index e1a3046d92eb3d1fe57623caee1f9354750a8306..a688c12b57b087cfff965bf97fbae8f08a10976f 100644
--- a/content/renderer/media/video_capture_impl_manager_unittest.cc
+++ b/content/renderer/media/video_capture_impl_manager_unittest.cc
@@ -35,9 +35,7 @@ class MockVideoCaptureImpl : public VideoCaptureImpl {
destruct_callback_(destruct_callback) {
}
- virtual ~MockVideoCaptureImpl() {
- destruct_callback_.Run();
- }
+ ~MockVideoCaptureImpl() override { destruct_callback_.Run(); }
private:
base::Closure destruct_callback_;
@@ -51,10 +49,10 @@ class MockVideoCaptureImplManager : public VideoCaptureImplManager {
base::Closure destruct_video_capture_callback)
: destruct_video_capture_callback_(
destruct_video_capture_callback) {}
- virtual ~MockVideoCaptureImplManager() {}
+ ~MockVideoCaptureImplManager() override {}
protected:
- virtual VideoCaptureImpl* CreateVideoCaptureImplForTesting(
+ VideoCaptureImpl* CreateVideoCaptureImplForTesting(
media::VideoCaptureSessionId id,
VideoCaptureMessageFilter* filter) const override {
return new MockVideoCaptureImpl(id,
« no previous file with comments | « content/renderer/media/video_capture_impl.h ('k') | content/renderer/media/video_capture_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698