summaryrefslogtreecommitdiffstats
path: root/media/cast/cast_sender_impl.cc
diff options
context:
space:
mode:
authordcheng <dcheng@chromium.org>2014-10-21 05:23:27 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-21 12:24:04 +0000
commitc24565478f64d1aa4d07e83c69d00bad11fa2665 (patch)
treeec3572cc086984ca8dcdb2c2740c1b8e163dd0b0 /media/cast/cast_sender_impl.cc
parent3fc12db4bdf0829f206dafbb23d411ff502d7de6 (diff)
downloadchromium_src-c24565478f64d1aa4d07e83c69d00bad11fa2665.zip
chromium_src-c24565478f64d1aa4d07e83c69d00bad11fa2665.tar.gz
chromium_src-c24565478f64d1aa4d07e83c69d00bad11fa2665.tar.bz2
Standardize usage of virtual/override/final in media/
This patch was automatically generated by applying clang fixit hints generated by the plugin to the source tree. BUG=417463 TBR=ddorwin@chromium.org Review URL: https://codereview.chromium.org/655713003 Cr-Commit-Position: refs/heads/master@{#300471}
Diffstat (limited to 'media/cast/cast_sender_impl.cc')
-rw-r--r--media/cast/cast_sender_impl.cc13
1 files changed, 6 insertions, 7 deletions
diff --git a/media/cast/cast_sender_impl.cc b/media/cast/cast_sender_impl.cc
index 5c70dbd..571e92e 100644
--- a/media/cast/cast_sender_impl.cc
+++ b/media/cast/cast_sender_impl.cc
@@ -21,9 +21,8 @@ class LocalVideoFrameInput : public VideoFrameInput {
base::WeakPtr<VideoSender> video_sender)
: cast_environment_(cast_environment), video_sender_(video_sender) {}
- virtual void InsertRawVideoFrame(
- const scoped_refptr<media::VideoFrame>& video_frame,
- const base::TimeTicks& capture_time) override {
+ void InsertRawVideoFrame(const scoped_refptr<media::VideoFrame>& video_frame,
+ const base::TimeTicks& capture_time) override {
cast_environment_->PostTask(CastEnvironment::MAIN,
FROM_HERE,
base::Bind(&VideoSender::InsertRawVideoFrame,
@@ -33,7 +32,7 @@ class LocalVideoFrameInput : public VideoFrameInput {
}
protected:
- virtual ~LocalVideoFrameInput() {}
+ ~LocalVideoFrameInput() override {}
private:
friend class base::RefCountedThreadSafe<LocalVideoFrameInput>;
@@ -52,8 +51,8 @@ class LocalAudioFrameInput : public AudioFrameInput {
base::WeakPtr<AudioSender> audio_sender)
: cast_environment_(cast_environment), audio_sender_(audio_sender) {}
- virtual void InsertAudio(scoped_ptr<AudioBus> audio_bus,
- const base::TimeTicks& recorded_time) override {
+ void InsertAudio(scoped_ptr<AudioBus> audio_bus,
+ const base::TimeTicks& recorded_time) override {
cast_environment_->PostTask(CastEnvironment::MAIN,
FROM_HERE,
base::Bind(&AudioSender::InsertAudio,
@@ -63,7 +62,7 @@ class LocalAudioFrameInput : public AudioFrameInput {
}
protected:
- virtual ~LocalAudioFrameInput() {}
+ ~LocalAudioFrameInput() override {}
private:
friend class base::RefCountedThreadSafe<LocalAudioFrameInput>;