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

Unified Diff: media/base/android/audio_decoder_job.h

Issue 893363002: Update {virtual,override,final} to follow C++11 style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 10 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/audio/android/opensles_output.h ('k') | media/base/android/media_drm_bridge.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/android/audio_decoder_job.h
diff --git a/media/base/android/audio_decoder_job.h b/media/base/android/audio_decoder_job.h
index 2d70845155d54c5d6b8e328f6922ae4956d7c90e..dcaf1ef228c7864b467c803d7f84e9ce35fc0720 100644
--- a/media/base/android/audio_decoder_job.h
+++ b/media/base/android/audio_decoder_job.h
@@ -25,12 +25,12 @@ class AudioDecoderJob : public MediaDecoderJob {
// demuxer config has changed.
AudioDecoderJob(const base::Closure& request_data_cb,
const base::Closure& on_demuxer_config_changed_cb);
- virtual ~AudioDecoderJob();
+ ~AudioDecoderJob() override;
// MediaDecoderJob implementation.
- virtual bool HasStream() const override;
- virtual void Flush() override;
- virtual void SetDemuxerConfigs(const DemuxerConfigs& configs) override;
+ bool HasStream() const override;
+ void Flush() override;
+ void SetDemuxerConfigs(const DemuxerConfigs& configs) override;
// Sets the volume of the audio output.
void SetVolume(double volume);
@@ -40,17 +40,16 @@ class AudioDecoderJob : public MediaDecoderJob {
private:
// MediaDecoderJob implementation.
- virtual void ReleaseOutputBuffer(
+ void ReleaseOutputBuffer(
int output_buffer_index,
size_t size,
bool render_output,
base::TimeDelta current_presentation_timestamp,
const ReleaseOutputCompletionCallback& callback) override;
- virtual bool ComputeTimeToRender() const override;
- virtual bool AreDemuxerConfigsChanged(
- const DemuxerConfigs& configs) const override;
- virtual MediaDecoderJobStatus CreateMediaCodecBridgeInternal() override;
- virtual void OnOutputFormatChanged() override;
+ bool ComputeTimeToRender() const override;
+ bool AreDemuxerConfigsChanged(const DemuxerConfigs& configs) const override;
+ MediaDecoderJobStatus CreateMediaCodecBridgeInternal() override;
+ void OnOutputFormatChanged() override;
// Helper method to set the audio output volume.
void SetVolumeInternal();
« no previous file with comments | « media/audio/android/opensles_output.h ('k') | media/base/android/media_drm_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698