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

Unified Diff: webrtc/media/engine/fakewebrtcvoiceengine.h

Issue 1921653002: Enable -Winconsistent-missing-override flag. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase. Created 4 years, 8 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 | « webrtc/media/engine/fakewebrtcvideoengine.h ('k') | webrtc/media/engine/webrtcvideocapturer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/media/engine/fakewebrtcvoiceengine.h
diff --git a/webrtc/media/engine/fakewebrtcvoiceengine.h b/webrtc/media/engine/fakewebrtcvoiceengine.h
index 4aa6ea3d4380de25d3b127f750ddf3e1894a6b2d..53438001fb282e98c7fd4b59b748d7452588f69a 100644
--- a/webrtc/media/engine/fakewebrtcvoiceengine.h
+++ b/webrtc/media/engine/fakewebrtcvoiceengine.h
@@ -298,7 +298,7 @@ class FakeWebRtcVoiceEngine
channels_[channel]->associate_send_channel = accociate_send_channel;
return 0;
}
- webrtc::RtcEventLog* GetEventLog() { return nullptr; }
+ webrtc::RtcEventLog* GetEventLog() override { return nullptr; }
// webrtc::VoECodec
WEBRTC_STUB(NumOfCodecs, ());
@@ -449,11 +449,11 @@ class FakeWebRtcVoiceEngine
WEBRTC_STUB(SetPlayoutSampleRate, (unsigned int samples_per_sec));
WEBRTC_STUB_CONST(PlayoutSampleRate, (unsigned int* samples_per_sec));
WEBRTC_STUB(EnableBuiltInAEC, (bool enable));
- virtual bool BuiltInAECIsAvailable() const { return false; }
+ bool BuiltInAECIsAvailable() const override { return false; }
WEBRTC_STUB(EnableBuiltInAGC, (bool enable));
- virtual bool BuiltInAGCIsAvailable() const { return false; }
+ bool BuiltInAGCIsAvailable() const override { return false; }
WEBRTC_STUB(EnableBuiltInNS, (bool enable));
- virtual bool BuiltInNSIsAvailable() const { return false; }
+ bool BuiltInNSIsAvailable() const override { return false; }
// webrtc::VoENetwork
WEBRTC_FUNC(RegisterExternalTransport, (int channel,
@@ -661,17 +661,17 @@ class FakeWebRtcVoiceEngine
int reportingThreshold,
int penaltyDecay,
int typeEventDelay));
- int EnableHighPassFilter(bool enable) {
+ int EnableHighPassFilter(bool enable) override {
highpass_filter_enabled_ = enable;
return 0;
}
- bool IsHighPassFilterEnabled() {
+ bool IsHighPassFilterEnabled() override {
return highpass_filter_enabled_;
}
- bool IsStereoChannelSwappingEnabled() {
+ bool IsStereoChannelSwappingEnabled() override {
return stereo_swapping_enabled_;
}
- void EnableStereoChannelSwapping(bool enable) {
+ void EnableStereoChannelSwapping(bool enable) override {
stereo_swapping_enabled_ = enable;
}
int GetNetEqCapacity() const {
« no previous file with comments | « webrtc/media/engine/fakewebrtcvideoengine.h ('k') | webrtc/media/engine/webrtcvideocapturer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698