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

Unified Diff: webrtc/call/flexfec_receive_stream_impl.h

Issue 2967913002: Get rid of unnecessary cast of FlexfecReceiveStreamImpl to FlexfecReceiveStream (Closed)
Patch Set: Created 3 years, 5 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/call/flexfec_receive_stream.h ('k') | webrtc/call/flexfec_receive_stream_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/call/flexfec_receive_stream_impl.h
diff --git a/webrtc/call/flexfec_receive_stream_impl.h b/webrtc/call/flexfec_receive_stream_impl.h
index a89940f8c3e52d9bb01e46eeea682f69aac882de..6a4eeae3e317e7f52cd1fdae5eec2bf3802a0bdf 100644
--- a/webrtc/call/flexfec_receive_stream_impl.h
+++ b/webrtc/call/flexfec_receive_stream_impl.h
@@ -40,8 +40,6 @@ class FlexfecReceiveStreamImpl : public FlexfecReceiveStream,
ProcessThread* process_thread);
~FlexfecReceiveStreamImpl() override;
- const Config& GetConfig() const { return config_; }
-
// RtpPacketSinkInterface.
void OnRtpPacket(const RtpPacketReceived& packet) override;
@@ -50,6 +48,8 @@ class FlexfecReceiveStreamImpl : public FlexfecReceiveStream,
void Stop() override;
Stats GetStats() const override;
+ const Config& GetConfig() const override;
eladalon 2017/07/04 09:56:26 Might also be a good idea to return a copy of the
ossu 2017/07/21 13:07:15 IMO, there's no reason to return a copy unless acc
eladalon 2017/07/21 13:19:31 I was thinking about fool-proofing it, but I guess
+
private:
// Config.
const Config config_;
« no previous file with comments | « webrtc/call/flexfec_receive_stream.h ('k') | webrtc/call/flexfec_receive_stream_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698