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

Unified Diff: components/copresence/mediums/audio/audio_player.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_player.h
diff --git a/components/copresence/mediums/audio/audio_player.h b/components/copresence/mediums/audio/audio_player.h
index 96c1f0f3bf1a267703b07fd221bc59b5e6993e26..e2bb64dce169199347dcdc50533b369ff5f49429 100644
--- a/components/copresence/mediums/audio/audio_player.h
+++ b/components/copresence/mediums/audio/audio_player.h
@@ -47,7 +47,7 @@ class AudioPlayer : public media::AudioOutputStream::AudioSourceCallback {
}
protected:
- virtual ~AudioPlayer();
+ ~AudioPlayer() override;
void set_is_playing(bool is_playing) { is_playing_ = is_playing; }
private:
@@ -66,9 +66,8 @@ class AudioPlayer : public media::AudioOutputStream::AudioSourceCallback {
// AudioOutputStream::AudioSourceCallback overrides:
// Following methods could be called from *ANY* thread.
- virtual int OnMoreData(media::AudioBus* dest,
- uint32 total_bytes_delay) override;
- virtual void OnError(media::AudioOutputStream* stream) override;
+ int OnMoreData(media::AudioBus* dest, uint32 total_bytes_delay) override;
+ void OnError(media::AudioOutputStream* stream) override;
// Flushes the audio loop, making sure that any queued operations are
// performed.

Powered by Google App Engine
This is Rietveld 408576698