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

Unified Diff: content/renderer/media/audio_renderer_impl.h

Issue 8587009: Add OVERRIDE to content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 1 month 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/audio_message_filter.h ('k') | content/renderer/media/media_stream_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/audio_renderer_impl.h
diff --git a/content/renderer/media/audio_renderer_impl.h b/content/renderer/media/audio_renderer_impl.h
index e38f4077f754822304c9efd80efe501af63467d5..0bff566ea7192b8fd58ee52f95b648cd2a2db642 100644
--- a/content/renderer/media/audio_renderer_impl.h
+++ b/content/renderer/media/audio_renderer_impl.h
@@ -65,34 +65,37 @@ class CONTENT_EXPORT AudioRendererImpl
// Methods called on IO thread ----------------------------------------------
// AudioMessageFilter::Delegate methods, called by AudioMessageFilter.
- virtual void OnRequestPacket(AudioBuffersState buffers_state);
- virtual void OnStateChanged(AudioStreamState state);
- virtual void OnCreated(base::SharedMemoryHandle handle, uint32 length);
+ virtual void OnRequestPacket(AudioBuffersState buffers_state) OVERRIDE;
+ virtual void OnStateChanged(AudioStreamState state) OVERRIDE;
+ virtual void OnCreated(base::SharedMemoryHandle handle,
+ uint32 length) OVERRIDE;
virtual void OnLowLatencyCreated(base::SharedMemoryHandle handle,
base::SyncSocket::Handle socket_handle,
- uint32 length);
- virtual void OnVolume(double volume);
+ uint32 length) OVERRIDE;
+ virtual void OnVolume(double volume) OVERRIDE;
// Methods called on pipeline thread ----------------------------------------
// media::Filter implementation.
- virtual void SetPlaybackRate(float rate);
- virtual void Pause(const base::Closure& callback);
- virtual void Seek(base::TimeDelta time, const media::FilterStatusCB& cb);
- virtual void Play(const base::Closure& callback);
+ virtual void SetPlaybackRate(float rate) OVERRIDE;
+ virtual void Pause(const base::Closure& callback) OVERRIDE;
+ virtual void Seek(base::TimeDelta time,
+ const media::FilterStatusCB& cb) OVERRIDE;
+ virtual void Play(const base::Closure& callback) OVERRIDE;
// media::AudioRenderer implementation.
- virtual void SetVolume(float volume);
+ virtual void SetVolume(float volume) OVERRIDE;
protected:
// Methods called on audio renderer thread ----------------------------------
// These methods are called from AudioRendererBase.
virtual bool OnInitialize(int bits_per_channel,
ChannelLayout channel_layout,
- int sample_rate);
- virtual void OnStop();
+ int sample_rate) OVERRIDE;
+ virtual void OnStop() OVERRIDE;
// Called when the decoder completes a Read().
- virtual void ConsumeAudioSamples(scoped_refptr<media::Buffer> buffer_in);
+ virtual void ConsumeAudioSamples(
+ scoped_refptr<media::Buffer> buffer_in) OVERRIDE;
private:
// We are using either low- or high-latency code path.
@@ -128,10 +131,10 @@ class CONTENT_EXPORT AudioRendererImpl
void DestroyTask();
// Called on IO thread when message loop is dying.
- virtual void WillDestroyCurrentMessageLoop();
+ virtual void WillDestroyCurrentMessageLoop() OVERRIDE;
// DelegateSimpleThread::Delegate implementation.
- virtual void Run();
+ virtual void Run() OVERRIDE;
// (Re-)starts playback.
void NotifyDataAvailableIfNecessary();
« no previous file with comments | « content/renderer/media/audio_message_filter.h ('k') | content/renderer/media/media_stream_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698