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..9c3a04b657507d759b1735544ebb0a7a4d627a7a 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 PacketTransport; |
| +} |
| + |
| 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::PacketTransport* pt); |
| + void OnReadPacket(rtc::PacketTransport* pt, |
| + const char* data, |
| + size_t size, |
| + const rtc::PacketTime& packet_time, |
| + int flags); |
| + void OnSentPacket(rtc::PacketTransport* pt, |
| const rtc::SentPacket& sent_packet); |
| - void OnReadyToSend(TransportChannel* channel); |
| + void OnReadyToSend(rtc::PacketTransport* pt); |
|
pthatcher1
2016/10/13 20:26:37
Can you call these "transport" instead of "pt"? "
johan
2016/10/14 16:09:33
Done.
|
| void OnReceivingState(TransportChannel* channel); |
| void OnDtlsEvent(rtc::StreamInterface* stream_, int sig, int err); |
| bool SetupDtls(); |