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

Unified Diff: webrtc/p2p/base/transportchannel.h

Issue 1363573002: Wire up transport sequence number / send time callbacks to webrtc via libjingle. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Add missing updated_options Created 5 years, 2 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/p2p/base/transportchannel.h
diff --git a/webrtc/p2p/base/transportchannel.h b/webrtc/p2p/base/transportchannel.h
index 1223618d0b68dbc273a88ceb4d47c32fd3d2f82f..9dc9c3a4956285feb038c661a0046adcf13e69a9 100644
--- a/webrtc/p2p/base/transportchannel.h
+++ b/webrtc/p2p/base/transportchannel.h
@@ -48,7 +48,7 @@ enum TransportChannelState {
// between the two sides of a session.
class TransportChannel : public sigslot::has_slots<> {
public:
- explicit TransportChannel(const std::string& transport_name, int component)
+ TransportChannel(const std::string& transport_name, int component)
: transport_name_(transport_name),
component_(component),
writable_(false),
@@ -134,6 +134,9 @@ class TransportChannel : public sigslot::has_slots<> {
sigslot::signal5<TransportChannel*, const char*,
size_t, const rtc::PacketTime&, int> SignalReadPacket;
+ // Signalled each time a packet is sent on this channel.
+ sigslot::signal2<TransportChannel*, const rtc::SentPacket&> SignalSentPacket;
+
// This signal occurs when there is a change in the way that packets are
// being routed, i.e. to a different remote location. The candidate
// indicates where and how we are currently sending media.
« webrtc/call.h ('K') | « webrtc/p2p/base/stunport.cc ('k') | webrtc/transport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698