Index: webrtc/p2p/base/p2ptransportchannel.h |
diff --git a/webrtc/p2p/base/p2ptransportchannel.h b/webrtc/p2p/base/p2ptransportchannel.h |
index 335ee7d166205040c24b3cb0a74dc12bec59ca97..022ba8556bb07fea8e8ec8c8eb3e46fcb7b6bb26 100644 |
--- a/webrtc/p2p/base/p2ptransportchannel.h |
+++ b/webrtc/p2p/base/p2ptransportchannel.h |
@@ -120,11 +120,12 @@ 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<rtc::RTCCertificate>* certificate) const override { |
return false; |
} |
- virtual bool GetRemoteCertificate(rtc::SSLCertificate** cert) const { |
+ bool GetRemoteSSLCertificate(rtc::SSLCertificate** cert) const override { |
return false; |
} |
@@ -139,7 +140,8 @@ class P2PTransportChannel : public TransportChannelImpl, |
return false; |
} |
- virtual bool SetLocalIdentity(rtc::SSLIdentity* identity) { |
+ bool SetLocalCertificate( |
+ const rtc::scoped_refptr<rtc::RTCCertificate>& certificate) override { |
return false; |
} |