diff options
Diffstat (limited to 'chromium/third_party/libjingle/source/talk/p2p/base/dtlstransportchannel.h')
-rw-r--r-- | chromium/third_party/libjingle/source/talk/p2p/base/dtlstransportchannel.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/chromium/third_party/libjingle/source/talk/p2p/base/dtlstransportchannel.h b/chromium/third_party/libjingle/source/talk/p2p/base/dtlstransportchannel.h index d6b73467486..232d400c652 100644 --- a/chromium/third_party/libjingle/source/talk/p2p/base/dtlstransportchannel.h +++ b/chromium/third_party/libjingle/source/talk/p2p/base/dtlstransportchannel.h @@ -127,6 +127,9 @@ class DtlsTransportChannelWrapper : public TransportChannelImpl { virtual IceRole GetIceRole() const { return channel_->GetIceRole(); } + virtual size_t GetConnectionCount() const { + return channel_->GetConnectionCount(); + } virtual bool SetLocalIdentity(talk_base::SSLIdentity *identity); virtual bool GetLocalIdentity(talk_base::SSLIdentity** identity) const; @@ -137,7 +140,7 @@ class DtlsTransportChannelWrapper : public TransportChannelImpl { // Called to send a packet (via DTLS, if turned on). virtual int SendPacket(const char* data, size_t size, - talk_base::DiffServCodePoint dscp, + const talk_base::PacketOptions& options, int flags); // TransportChannel calls that we forward to the wrapped transport. @@ -193,6 +196,9 @@ class DtlsTransportChannelWrapper : public TransportChannelImpl { virtual void SetIceTiebreaker(uint64 tiebreaker) { channel_->SetIceTiebreaker(tiebreaker); } + virtual bool GetIceProtocolType(IceProtocolType* type) const { + return channel_->GetIceProtocolType(type); + } virtual void SetIceProtocolType(IceProtocolType type) { channel_->SetIceProtocolType(type); } @@ -236,6 +242,7 @@ class DtlsTransportChannelWrapper : public TransportChannelImpl { void OnCandidatesAllocationDone(TransportChannelImpl* channel); void OnRoleConflict(TransportChannelImpl* channel); void OnRouteChange(TransportChannel* channel, const Candidate& candidate); + void OnConnectionRemoved(TransportChannelImpl* channel); Transport* transport_; // The transport_ that created us. talk_base::Thread* worker_thread_; // Everything should occur on this thread. |