Index: webrtc/p2p/base/transportchannel.h |
diff --git a/webrtc/p2p/base/transportchannel.h b/webrtc/p2p/base/transportchannel.h |
index d21d60771b58c7ca2193caa7a60d5412bc6e5aa9..24f90e3cf6ff54539bc802e4e926d51fdb956198 100644 |
--- a/webrtc/p2p/base/transportchannel.h |
+++ b/webrtc/p2p/base/transportchannel.h |
@@ -129,8 +129,9 @@ class TransportChannel : public sigslot::has_slots<> { |
virtual rtc::scoped_refptr<rtc::RTCCertificate> |
GetLocalCertificate() const = 0; |
- // Gets a copy of the remote side's SSL certificate, owned by the caller. |
- virtual bool GetRemoteSSLCertificate(rtc::SSLCertificate** cert) const = 0; |
+ // Gets a copy of the remote side's SSL certificate. |
+ virtual rtc::scoped_ptr<rtc::SSLCertificate> GetRemoteSSLCertificate() |
+ const = 0; |
// Allows key material to be extracted for external encryption. |
virtual bool ExportKeyingMaterial(const std::string& label, |