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

Unified Diff: media/cast/test/receiver.cc

Issue 623263003: replace OVERRIDE and FINAL with override and final in media/ (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 | « media/cast/test/loopback_transport.cc ('k') | media/cast/test/skewed_single_thread_task_runner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/test/receiver.cc
diff --git a/media/cast/test/receiver.cc b/media/cast/test/receiver.cc
index 019b02cd8706412e5a11972d8284046a7546f07c..b83733abe032f35bebea391dc8bac82f15c8eaa3 100644
--- a/media/cast/test/receiver.cc
+++ b/media/cast/test/receiver.cc
@@ -204,7 +204,7 @@ class NaivePlayer : public InProcessReceiver,
virtual ~NaivePlayer() {}
- virtual void Start() OVERRIDE {
+ virtual void Start() override {
AudioManager::Get()->GetTaskRunner()->PostTask(
FROM_HERE,
base::Bind(&NaivePlayer::StartAudioOutputOnAudioManagerThread,
@@ -214,7 +214,7 @@ class NaivePlayer : public InProcessReceiver,
InProcessReceiver::Start();
}
- virtual void Stop() OVERRIDE {
+ virtual void Stop() override {
// First, stop audio output to the Chromium audio stack.
base::WaitableEvent done(false, false);
DCHECK(!AudioManager::Get()->GetTaskRunner()->BelongsToCurrentThread());
@@ -267,7 +267,7 @@ class NaivePlayer : public InProcessReceiver,
virtual void OnVideoFrame(const scoped_refptr<VideoFrame>& video_frame,
const base::TimeTicks& playout_time,
- bool is_continuous) OVERRIDE {
+ bool is_continuous) override {
DCHECK(cast_env()->CurrentlyOn(CastEnvironment::MAIN));
LOG_IF(WARNING, !is_continuous)
<< "Video: Discontinuity in received frames.";
@@ -284,7 +284,7 @@ class NaivePlayer : public InProcessReceiver,
virtual void OnAudioFrame(scoped_ptr<AudioBus> audio_frame,
const base::TimeTicks& playout_time,
- bool is_continuous) OVERRIDE {
+ bool is_continuous) override {
DCHECK(cast_env()->CurrentlyOn(CastEnvironment::MAIN));
LOG_IF(WARNING, !is_continuous)
<< "Audio: Discontinuity in received frames.";
@@ -317,7 +317,7 @@ class NaivePlayer : public InProcessReceiver,
// AudioSourceCallback implementation.
virtual int OnMoreData(AudioBus* dest, uint32 total_bytes_delay)
- OVERRIDE {
+ override {
// Note: This method is being invoked by a separate thread unknown to us
// (i.e., outside of CastEnvironment).
@@ -377,7 +377,7 @@ class NaivePlayer : public InProcessReceiver,
return dest->frames();
}
- virtual void OnError(AudioOutputStream* stream) OVERRIDE {
+ virtual void OnError(AudioOutputStream* stream) override {
LOG(ERROR) << "AudioOutputStream reports an error. "
<< "Playback is unlikely to continue.";
}
« no previous file with comments | « media/cast/test/loopback_transport.cc ('k') | media/cast/test/skewed_single_thread_task_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698