Chromium Code Reviews| Index: webrtc/p2p/base/dtlstransportchannel.h | 
| diff --git a/webrtc/p2p/base/dtlstransportchannel.h b/webrtc/p2p/base/dtlstransportchannel.h | 
| index 5ab3dca77100ca241f17615074c55fa4e22c98fc..9d2c6d453e1ad8567164608ee34f3254658b6f9e 100644 | 
| --- a/webrtc/p2p/base/dtlstransportchannel.h | 
| +++ b/webrtc/p2p/base/dtlstransportchannel.h | 
| @@ -22,6 +22,10 @@ | 
| #include "webrtc/base/sslstreamadapter.h" | 
| #include "webrtc/base/stream.h" | 
| +namespace rtc { | 
| +struct PacketTransportChannel; | 
| 
 
pthatcher1
2016/10/14 17:59:17
Did you mean PacketTransportInterface?
 
johan
2016/10/17 15:47:55
Oups. Yes.
 
 | 
| +} | 
| + | 
| namespace cricket { | 
| // A bridge between a packet-oriented/channel-type interface on | 
| @@ -203,12 +207,15 @@ class DtlsTransportChannelWrapper : public TransportChannelImpl { | 
| bool IsDtlsConnected(); | 
| private: | 
| - 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, | 
| + void OnWritableState(rtc::PacketTransportInterface* transport); | 
| + void OnReadPacket(rtc::PacketTransportInterface* transport, | 
| + const char* data, | 
| + size_t size, | 
| + const rtc::PacketTime& packet_time, | 
| + int flags); | 
| + void OnSentPacket(rtc::PacketTransportInterface* transport, | 
| const rtc::SentPacket& sent_packet); | 
| - void OnReadyToSend(TransportChannel* channel); | 
| + void OnReadyToSend(rtc::PacketTransportInterface* transport); | 
| void OnReceivingState(TransportChannel* channel); | 
| void OnDtlsEvent(rtc::StreamInterface* stream_, int sig, int err); | 
| bool SetupDtls(); |