Index: webrtc/p2p/base/dtlstransportchannel.h |
diff --git a/webrtc/p2p/base/dtlstransportchannel.h b/webrtc/p2p/base/dtlstransportchannel.h |
index 9a2ccdee992198eb99593ed34d7fac70594e2a03..b445c69efa96fb1091ea740be6dfaba6826e535e 100644 |
--- a/webrtc/p2p/base/dtlstransportchannel.h |
+++ b/webrtc/p2p/base/dtlstransportchannel.h |
@@ -209,6 +209,8 @@ class DtlsTransportChannelWrapper : public TransportChannelImpl { |
void OnWritableState(TransportChannel* channel); |
void OnReadPacket(TransportChannel* channel, const char* data, size_t size, |
const rtc::PacketTime& packet_time, int flags); |
+ void OnSentPacket(TransportChannel* channel, |
+ const rtc::SentPacket& sent_packet); |
void OnReadyToSend(TransportChannel* channel); |
void OnReceivingState(TransportChannel* channel); |
void OnDtlsEvent(rtc::StreamInterface* stream_, int sig, int err); |
@@ -223,7 +225,8 @@ class DtlsTransportChannelWrapper : public TransportChannelImpl { |
Transport* transport_; // The transport_ that created us. |
rtc::Thread* worker_thread_; // Everything should occur on this thread. |
- TransportChannelImpl* channel_; // Underlying channel, owned by transport_. |
+ // Underlying channel, owned by transport_. |
+ TransportChannelImpl* const channel_; |
rtc::scoped_ptr<rtc::SSLStreamAdapter> dtls_; // The DTLS stream |
StreamInterfaceChannel* downward_; // Wrapper for channel_, owned by dtls_. |
std::vector<std::string> srtp_ciphers_; // SRTP ciphers to use with DTLS. |