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

Unified Diff: content/browser/speech/audio_encoder.cc

Issue 667943003: Standardize usage of virtual/override/final in content/browser/ (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: content/browser/speech/audio_encoder.cc
diff --git a/content/browser/speech/audio_encoder.cc b/content/browser/speech/audio_encoder.cc
index cf9f72dacc9fc6c9c7e41e574503873ae2f0992e..09b5dca287df9c2343ad0b00f0a49cfdf77a2d5f 100644
--- a/content/browser/speech/audio_encoder.cc
+++ b/content/browser/speech/audio_encoder.cc
@@ -24,9 +24,9 @@ const int kFLACCompressionLevel = 0; // 0 for speed
class FLACEncoder : public AudioEncoder {
public:
FLACEncoder(int sampling_rate, int bits_per_sample);
- virtual ~FLACEncoder();
- virtual void Encode(const AudioChunk& raw_audio) override;
- virtual void Flush() override;
+ ~FLACEncoder() override;
+ void Encode(const AudioChunk& raw_audio) override;
+ void Flush() override;
private:
static FLAC__StreamEncoderWriteStatus WriteCallback(
@@ -113,9 +113,9 @@ COMPILE_ASSERT(kMaxSpeexFrameLength <= 0xFF, invalidLength);
class SpeexEncoder : public AudioEncoder {
public:
explicit SpeexEncoder(int sampling_rate, int bits_per_sample);
- virtual ~SpeexEncoder();
- virtual void Encode(const AudioChunk& raw_audio) override;
- virtual void Flush() override {}
+ ~SpeexEncoder() override;
+ void Encode(const AudioChunk& raw_audio) override;
+ void Flush() override {}
private:
void* encoder_state_;
« no previous file with comments | « content/browser/site_per_process_browsertest.cc ('k') | content/browser/speech/endpointer/endpointer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698