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

Unified Diff: webrtc/call/rtx_receive_stream_unittest.cc

Issue 2988853002: Only one implementation of MockRtpPacketSink once (Closed)
Patch Set: CR response 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
Index: webrtc/call/rtx_receive_stream_unittest.cc
diff --git a/webrtc/call/rtx_receive_stream_unittest.cc b/webrtc/call/rtx_receive_stream_unittest.cc
index 91ed2ca2c73fa2b954737696932a889dee7c7a72..e9c82105212adec197b49f6298c1e345b5df3be5 100644
--- a/webrtc/call/rtx_receive_stream_unittest.cc
+++ b/webrtc/call/rtx_receive_stream_unittest.cc
@@ -9,6 +9,7 @@
*/
#include "webrtc/call/rtx_receive_stream.h"
+#include "webrtc/call/test/mock_rtp_packet_sink_interface.h"
#include "webrtc/modules/rtp_rtcp/include/rtp_header_extension_map.h"
#include "webrtc/modules/rtp_rtcp/source/rtp_header_extensions.h"
#include "webrtc/modules/rtp_rtcp/source/rtp_packet_received.h"
@@ -22,11 +23,6 @@ namespace {
using ::testing::_;
using ::testing::StrictMock;
-class MockRtpPacketSink : public RtpPacketSinkInterface {
- public:
- MOCK_METHOD1(OnRtpPacket, void(const RtpPacketReceived&));
-};
-
constexpr int kMediaPayloadType = 100;
constexpr int kRtxPayloadType = 98;
constexpr uint32_t kMediaSSRC = 0x3333333;

Powered by Google App Engine
This is Rietveld 408576698