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. |