Index: webrtc/p2p/base/p2ptransportchannel.h |
diff --git a/webrtc/p2p/base/p2ptransportchannel.h b/webrtc/p2p/base/p2ptransportchannel.h |
index 926de95a3bffed498bb8291ed4bd80a99cb048e3..ba15789e5d0b14ebb9c68d8299b7958bcf1b81c2 100644 |
--- a/webrtc/p2p/base/p2ptransportchannel.h |
+++ b/webrtc/p2p/base/p2ptransportchannel.h |
@@ -122,7 +122,8 @@ class P2PTransportChannel : public TransportChannelImpl, |
} |
// Returns false because the channel is not encrypted by default. |
- virtual bool GetLocalIdentity(rtc::SSLIdentity** identity) const { |
+ bool GetLocalCertificate( |
+ rtc::scoped_refptr<webrtc::DtlsCertificate>* certificate) const override { |
return false; |
} |
@@ -141,7 +142,8 @@ class P2PTransportChannel : public TransportChannelImpl, |
return false; |
} |
- virtual bool SetLocalIdentity(rtc::SSLIdentity* identity) { |
+ virtual bool SetLocalCertificate( |
+ const rtc::scoped_refptr<webrtc::DtlsCertificate>& certificate) { |
return false; |
} |