| Index: webrtc/p2p/base/dtlstransportchannel.h
|
| diff --git a/webrtc/p2p/base/dtlstransportchannel.h b/webrtc/p2p/base/dtlstransportchannel.h
|
| index 19823f8c346d9c922b1f77fce1e614464b2f34ee..a07c605e051c82f3b162dd6ee32ff182788e3038 100644
|
| --- a/webrtc/p2p/base/dtlstransportchannel.h
|
| +++ b/webrtc/p2p/base/dtlstransportchannel.h
|
| @@ -193,8 +193,12 @@ class DtlsTransportChannelWrapper : public TransportChannelImpl {
|
| // Needed by DtlsTransport.
|
| TransportChannelImpl* channel() { return channel_; }
|
|
|
| + // For informational purposes. Tells if the DTLS handshake has finished.
|
| + // This may be true even if writable() is false, if the remote fingerprint
|
| + // has not yet been verified.
|
| + bool IsDtlsConnected();
|
| +
|
| private:
|
| - void OnReadableState(TransportChannel* channel);
|
| void OnWritableState(TransportChannel* channel);
|
| void OnReadPacket(TransportChannel* channel, const char* data, size_t size,
|
| const rtc::PacketTime& packet_time, int flags);
|
|
|