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

Unified Diff: webrtc/call/flexfec_receive_stream_impl.h

Issue 2561123002: Move FlexfecReceiveStream from api/call/ to call/. (Closed)
Patch Set: Fix BUILD file. Created 4 years 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.cc ('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.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_
« no previous file with comments | « webrtc/call/flexfec_receive_stream.cc ('k') | webrtc/call/flexfec_receive_stream_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698