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

Unified Diff: webrtc/test/rtp_rtcp_observer.h

Issue 1376673004: Add a PacketOptions struct to webrtc::Transport. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Comment added Created 5 years, 3 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/test/null_transport.cc ('k') | webrtc/transport.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/test/rtp_rtcp_observer.h
diff --git a/webrtc/test/rtp_rtcp_observer.h b/webrtc/test/rtp_rtcp_observer.h
index 24f72565f17dab8353f0f8e1023b916e8643362f..97aa7b689e914335ffa22d95fd44e7b1cda9a802 100644
--- a/webrtc/test/rtp_rtcp_observer.h
+++ b/webrtc/test/rtp_rtcp_observer.h
@@ -126,7 +126,9 @@ class RtpRtcpObserver {
on_rtcp_(on_rtcp) {}
private:
- bool SendRtp(const uint8_t* packet, size_t length) override {
+ bool SendRtp(const uint8_t* packet,
+ size_t length,
+ const PacketOptions& options) override {
EXPECT_FALSE(RtpHeaderParser::IsRtcp(packet, length));
Action action;
{
@@ -138,7 +140,7 @@ class RtpRtcpObserver {
// Drop packet silently.
return true;
case SEND_PACKET:
- return test::DirectTransport::SendRtp(packet, length);
+ return test::DirectTransport::SendRtp(packet, length, options);
}
return true; // Will never happen, makes compiler happy.
}
« no previous file with comments | « webrtc/test/null_transport.cc ('k') | webrtc/transport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698