Chromium Code Reviews| Index: webrtc/call/flexfec_receive_stream_impl.h |
| diff --git a/webrtc/call/flexfec_receive_stream.h b/webrtc/call/flexfec_receive_stream_impl.h |
| similarity index 65% |
| copy from webrtc/call/flexfec_receive_stream.h |
| copy to webrtc/call/flexfec_receive_stream_impl.h |
| index 384a94d1d58091e386b39344ae54888a236e5f92..cb1d64ccea90a8cd4ba9eccdbeaa8bfb5771e533 100644 |
| --- a/webrtc/call/flexfec_receive_stream.h |
| +++ b/webrtc/call/flexfec_receive_stream_impl.h |
| @@ -8,30 +8,28 @@ |
| * be found in the AUTHORS file in the root of the source tree. |
| */ |
| -#ifndef WEBRTC_CALL_FLEXFEC_RECEIVE_STREAM_H_ |
| -#define WEBRTC_CALL_FLEXFEC_RECEIVE_STREAM_H_ |
| +#ifndef WEBRTC_CALL_FLEXFEC_RECEIVE_STREAM_IMPL_H_ |
| +#define WEBRTC_CALL_FLEXFEC_RECEIVE_STREAM_IMPL_H_ |
| #include <memory> |
| #include <string> |
| -#include "webrtc/api/call/flexfec_receive_stream.h" |
| #include "webrtc/base/basictypes.h" |
| #include "webrtc/base/criticalsection.h" |
| +#include "webrtc/call/flexfec_receive_stream.h" |
| #include "webrtc/modules/rtp_rtcp/include/flexfec_receiver.h" |
| namespace webrtc { |
| -namespace internal { |
| - |
| -class FlexfecReceiveStream : public webrtc::FlexfecReceiveStream { |
| +class FlexfecReceiveStreamImpl : public FlexfecReceiveStream { |
|
the sun
2016/12/09 08:59:38
Note: after this change it becomes tempting to fus
brandtr
2016/12/09 09:19:23
That though did cross my mind. I'll wait for the d
|
| public: |
| - FlexfecReceiveStream(const Config& config, |
| - RecoveredPacketReceiver* recovered_packet_callback); |
| - ~FlexfecReceiveStream(); |
| + FlexfecReceiveStreamImpl(const Config& config, |
| + RecoveredPacketReceiver* recovered_packet_callback); |
| + ~FlexfecReceiveStreamImpl(); |
|
the sun
2016/12/09 08:59:37
nit: override
brandtr
2016/12/09 09:19:23
Done.
|
| bool AddAndProcessReceivedPacket(const uint8_t* packet, size_t length); |
| - // Implements webrtc::FlexfecReceiveStream. |
| + // Implements FlexfecReceiveStream. |
| void Start() override; |
| void Stop() override; |
| Stats GetStats() const override; |
| @@ -44,8 +42,6 @@ class FlexfecReceiveStream : public webrtc::FlexfecReceiveStream { |
| const std::unique_ptr<FlexfecReceiver> receiver_; |
| }; |
| -} // namespace internal |
| - |
| } // namespace webrtc |
| -#endif // WEBRTC_CALL_FLEXFEC_RECEIVE_STREAM_H_ |
| +#endif // WEBRTC_CALL_FLEXFEC_RECEIVE_STREAM_IMPL_H_ |