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

Unified Diff: components/copresence/mediums/audio/audio_recorder.h

Issue 666133002: Standardize usage of virtual/override/final in components/ (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
Index: components/copresence/mediums/audio/audio_recorder.h
diff --git a/components/copresence/mediums/audio/audio_recorder.h b/components/copresence/mediums/audio/audio_recorder.h
index 5c68eca1808b5c064be2f6426514559186b0adc8..e554f01bd2aa73849864d96a524eec6879387482 100644
--- a/components/copresence/mediums/audio/audio_recorder.h
+++ b/components/copresence/mediums/audio/audio_recorder.h
@@ -55,7 +55,7 @@ class AudioRecorder : public media::AudioInputStream::AudioInputCallback,
}
protected:
- virtual ~AudioRecorder();
+ ~AudioRecorder() override;
void set_is_recording(bool is_recording) { is_recording_ = is_recording; }
private:
@@ -75,15 +75,15 @@ class AudioRecorder : public media::AudioInputStream::AudioInputCallback,
// Called by the audio recorder when a full packet of audio data is
// available. This is called from a special audio thread and the
// implementation should return as soon as possible.
- virtual void OnData(media::AudioInputStream* stream,
- const media::AudioBus* source,
- uint32 hardware_delay_bytes,
- double volume) override;
- virtual void OnError(media::AudioInputStream* stream) override;
+ void OnData(media::AudioInputStream* stream,
+ const media::AudioBus* source,
+ uint32 hardware_delay_bytes,
+ double volume) override;
+ void OnError(media::AudioInputStream* stream) override;
// AudioConverter::InputCallback overrides:
- virtual double ProvideInput(media::AudioBus* dest,
- base::TimeDelta buffer_delay) override;
+ double ProvideInput(media::AudioBus* dest,
+ base::TimeDelta buffer_delay) override;
// Flushes the audio loop, making sure that any queued operations are
// performed.

Powered by Google App Engine
This is Rietveld 408576698