Index: webrtc/p2p/base/transportchannelimpl.h |
diff --git a/webrtc/p2p/base/transportchannelimpl.h b/webrtc/p2p/base/transportchannelimpl.h |
index 75d56aa09bfcc4a7a78bc79b9babf942229a41c0..2d660f70f254834bc0f081f86393d195057a623c 100644 |
--- a/webrtc/p2p/base/transportchannelimpl.h |
+++ b/webrtc/p2p/base/transportchannelimpl.h |
@@ -82,11 +82,8 @@ class TransportChannelImpl : public TransportChannel { |
virtual void OnCandidate(const Candidate& candidate) = 0; |
// DTLS methods |
- // Set DTLS local identity. The identity object is not copied, but the caller |
- // retains ownership and must delete it after this TransportChannelImpl is |
- // destroyed. |
- // TODO(bemasc): Fix the ownership semantics of this method. |
- virtual bool SetLocalIdentity(rtc::SSLIdentity* identity) = 0; |
+ virtual bool SetLocalCertificate( |
+ const rtc::scoped_refptr<rtc::RTCCertificate>& certificate) = 0; |
// Set DTLS Remote fingerprint. Must be after local identity set. |
virtual bool SetRemoteFingerprint(const std::string& digest_alg, |