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

Unified Diff: webrtc/call/rtp_demuxer_unittest.cc

Issue 2988853002: Only one implementation of MockRtpPacketSink once (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/BUILD.gn ('k') | webrtc/call/rtx_receive_stream_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/call/rtp_demuxer_unittest.cc
diff --git a/webrtc/call/rtp_demuxer_unittest.cc b/webrtc/call/rtp_demuxer_unittest.cc
index 8c2eab11bfd8dd2f34453b1df6f8d51eb1184652..a2b4578a71a02a32d5d9ef58c2a920d9fea8b7f0 100644
--- a/webrtc/call/rtp_demuxer_unittest.cc
+++ b/webrtc/call/rtp_demuxer_unittest.cc
@@ -14,7 +14,7 @@
#include <string>
#include "webrtc/call/rsid_resolution_observer.h"
-#include "webrtc/call/rtp_packet_sink_interface.h"
+#include "webrtc/call/test/mock_rtp_packet_sink_interface.h"
#include "webrtc/common_types.h"
#include "webrtc/modules/rtp_rtcp/include/rtp_header_extension_map.h"
#include "webrtc/modules/rtp_rtcp/source/rtp_header_extensions.h"
@@ -35,11 +35,6 @@ using ::testing::AtLeast;
using ::testing::InSequence;
using ::testing::NiceMock;
-class MockRtpPacketSink : public RtpPacketSinkInterface {
- public:
- MOCK_METHOD1(OnRtpPacket, void(const RtpPacketReceived&));
-};
-
class MockRsidResolutionObserver : public RsidResolutionObserver {
public:
MOCK_METHOD2(OnRsidResolved, void(const std::string& rsid, uint32_t ssrc));
« no previous file with comments | « webrtc/call/BUILD.gn ('k') | webrtc/call/rtx_receive_stream_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698