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

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

Issue 633303002: Replace FINAL and OVERRIDE with their C++11 counterparts 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/webrtc_audio_renderer.h ('k') | content/renderer/media/webrtc_identity_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/webrtc_audio_renderer.cc
diff --git a/content/renderer/media/webrtc_audio_renderer.cc b/content/renderer/media/webrtc_audio_renderer.cc
index 694738c14913243796542fa083c5c844de7b09bf..f409d5fd6ae5884b2a564feddc3378838f4d7469 100644
--- a/content/renderer/media/webrtc_audio_renderer.cc
+++ b/content/renderer/media/webrtc_audio_renderer.cc
@@ -64,7 +64,7 @@ class SharedAudioRenderer : public MediaStreamAudioRenderer {
Stop();
}
- virtual void Start() OVERRIDE {
+ virtual void Start() override {
DCHECK(thread_checker_.CalledOnValidThread());
if (started_)
return;
@@ -72,7 +72,7 @@ class SharedAudioRenderer : public MediaStreamAudioRenderer {
delegate_->Start();
}
- virtual void Play() OVERRIDE {
+ virtual void Play() override {
DCHECK(thread_checker_.CalledOnValidThread());
DCHECK(started_);
if (playing_state_.playing())
@@ -81,7 +81,7 @@ class SharedAudioRenderer : public MediaStreamAudioRenderer {
on_play_state_changed_.Run(media_stream_, &playing_state_);
}
- virtual void Pause() OVERRIDE {
+ virtual void Pause() override {
DCHECK(thread_checker_.CalledOnValidThread());
DCHECK(started_);
if (!playing_state_.playing())
@@ -90,7 +90,7 @@ class SharedAudioRenderer : public MediaStreamAudioRenderer {
on_play_state_changed_.Run(media_stream_, &playing_state_);
}
- virtual void Stop() OVERRIDE {
+ virtual void Stop() override {
DCHECK(thread_checker_.CalledOnValidThread());
if (!started_)
return;
@@ -99,19 +99,19 @@ class SharedAudioRenderer : public MediaStreamAudioRenderer {
delegate_->Stop();
}
- virtual void SetVolume(float volume) OVERRIDE {
+ virtual void SetVolume(float volume) override {
DCHECK(thread_checker_.CalledOnValidThread());
DCHECK(volume >= 0.0f && volume <= 1.0f);
playing_state_.set_volume(volume);
on_play_state_changed_.Run(media_stream_, &playing_state_);
}
- virtual base::TimeDelta GetCurrentRenderTime() const OVERRIDE {
+ virtual base::TimeDelta GetCurrentRenderTime() const override {
DCHECK(thread_checker_.CalledOnValidThread());
return delegate_->GetCurrentRenderTime();
}
- virtual bool IsLocalRenderer() const OVERRIDE {
+ virtual bool IsLocalRenderer() const override {
DCHECK(thread_checker_.CalledOnValidThread());
return delegate_->IsLocalRenderer();
}
« no previous file with comments | « content/renderer/media/webrtc_audio_renderer.h ('k') | content/renderer/media/webrtc_identity_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698