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

Unified Diff: webrtc/modules/rtp_rtcp/source/rtcp_sender_unittest.cc

Issue 1369263002: Unify Transport and newapi::Transport interfaces. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: 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
Index: webrtc/modules/rtp_rtcp/source/rtcp_sender_unittest.cc
diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_sender_unittest.cc b/webrtc/modules/rtp_rtcp/source/rtcp_sender_unittest.cc
index 9a6bf118d83f4d65a9169b755413df2b9e2c8e17..aca545ed9a3a3f72829c1e33d47e9e9e6152b27e 100644
--- a/webrtc/modules/rtp_rtcp/source/rtcp_sender_unittest.cc
+++ b/webrtc/modules/rtp_rtcp/source/rtcp_sender_unittest.cc
@@ -199,10 +199,10 @@ class TestTransport : public Transport,
public:
TestTransport() {}
- int SendPacket(const void* /*data*/, size_t /*len*/) override {
+ bool SendRtp(const uint8_t* /*data*/, size_t /*len*/) override {
return -1;
stefan-webrtc 2015/09/28 13:37:34 Returns bool
}
- int SendRTCPPacket(const void* data, size_t len) override {
+ bool SendRtcp(const uint8_t* data, size_t len) override {
parser_.Parse(static_cast<const uint8_t*>(data), len);
return static_cast<int>(len);
stefan-webrtc 2015/09/28 13:37:34 Returns bool
}

Powered by Google App Engine
This is Rietveld 408576698