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

Unified Diff: webrtc/common_types.h

Issue 1335353005: Remove channel ids from various interfaces. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase 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 | « talk/media/webrtc/webrtcvoiceengine.h ('k') | webrtc/modules/rtp_rtcp/interface/rtp_receiver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/common_types.h
diff --git a/webrtc/common_types.h b/webrtc/common_types.h
index 693d36db7fc302e96dbfb07f512bb58b2d0626f4..94eb70df2bdd17d5aa13c1ceb78f63c6b06fa902 100644
--- a/webrtc/common_types.h
+++ b/webrtc/common_types.h
@@ -166,15 +166,14 @@ enum FrameType
};
// External transport callback interface
-class Transport
-{
-public:
- virtual int SendPacket(int channel, const void *data, size_t len) = 0;
- virtual int SendRTCPPacket(int channel, const void *data, size_t len) = 0;
+class Transport {
+ public:
+ virtual int SendPacket(const void* data, size_t len) = 0;
+ virtual int SendRTCPPacket(const void* data, size_t len) = 0;
-protected:
- virtual ~Transport() {}
- Transport() {}
+ protected:
+ virtual ~Transport() {}
+ Transport() {}
};
// Statistics for an RTCP channel
« no previous file with comments | « talk/media/webrtc/webrtcvoiceengine.h ('k') | webrtc/modules/rtp_rtcp/interface/rtp_receiver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698