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

Unified Diff: webrtc/modules/audio_coding/codecs/g722/include/audio_decoder_g722.h

Issue 1353803002: Simple cleanups of AudioDecoder and AudioEncoder classes (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@dmove-isac
Patch Set: rebase Created 5 years, 3 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: webrtc/modules/audio_coding/codecs/g722/include/audio_decoder_g722.h
diff --git a/webrtc/modules/audio_coding/codecs/g722/include/audio_decoder_g722.h b/webrtc/modules/audio_coding/codecs/g722/include/audio_decoder_g722.h
index 4f0d8eae3a055a286fefc8a7745a1b362f4cd6fb..b9fa68fc488b154c2bf5d02de7e9ee9c1590b8d2 100644
--- a/webrtc/modules/audio_coding/codecs/g722/include/audio_decoder_g722.h
+++ b/webrtc/modules/audio_coding/codecs/g722/include/audio_decoder_g722.h
@@ -17,7 +17,7 @@ typedef struct WebRtcG722DecInst G722DecInst;
namespace webrtc {
-class AudioDecoderG722 : public AudioDecoder {
+class AudioDecoderG722 final : public AudioDecoder {
public:
AudioDecoderG722();
~AudioDecoderG722() override;
@@ -38,7 +38,7 @@ class AudioDecoderG722 : public AudioDecoder {
RTC_DISALLOW_COPY_AND_ASSIGN(AudioDecoderG722);
};
-class AudioDecoderG722Stereo : public AudioDecoder {
+class AudioDecoderG722Stereo final : public AudioDecoder {
public:
AudioDecoderG722Stereo();
~AudioDecoderG722Stereo() override;
@@ -64,9 +64,9 @@ class AudioDecoderG722Stereo : public AudioDecoder {
G722DecInst* dec_state_left_;
G722DecInst* dec_state_right_;
-
RTC_DISALLOW_COPY_AND_ASSIGN(AudioDecoderG722Stereo);
};
} // namespace webrtc
+
#endif // WEBRTC_MODULES_AUDIO_CODING_CODECS_G722_INCLUDE_AUDIO_DECODER_G722_H_

Powered by Google App Engine
This is Rietveld 408576698