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

Unified Diff: webrtc/call/flexfec_receive_stream.h

Issue 2967913002: Get rid of unnecessary cast of FlexfecReceiveStreamImpl to FlexfecReceiveStream (Closed)
Patch Set: Rebase + remove empty line. 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/call.cc ('k') | webrtc/call/flexfec_receive_stream_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/call/flexfec_receive_stream.h
diff --git a/webrtc/call/flexfec_receive_stream.h b/webrtc/call/flexfec_receive_stream.h
index babeee0ecb64c4c93d4c961c9c3adaeb100893fb..353811a92262924481d899a8afa0791e6436210f 100644
--- a/webrtc/call/flexfec_receive_stream.h
+++ b/webrtc/call/flexfec_receive_stream.h
@@ -23,6 +23,8 @@ namespace webrtc {
class FlexfecReceiveStream {
public:
+ virtual ~FlexfecReceiveStream() = default;
+
struct Stats {
std::string ToString(int64_t time_ms) const;
@@ -82,8 +84,7 @@ class FlexfecReceiveStream {
virtual Stats GetStats() const = 0;
- protected:
- virtual ~FlexfecReceiveStream() = default;
+ virtual const Config& GetConfig() const = 0;
};
} // namespace webrtc
« no previous file with comments | « webrtc/call/call.cc ('k') | webrtc/call/flexfec_receive_stream_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698