Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(298)

Unified Diff: webrtc/p2p/base/transportchannel.h

Issue 1802013002: A bunch of interfaces: Return scoped_ptr<SSLCertificate> (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/p2p/base/transportchannel.h
diff --git a/webrtc/p2p/base/transportchannel.h b/webrtc/p2p/base/transportchannel.h
index b91af139b7155d35589305deef52cb0bb7308eb5..793d57350e9cffadab476752259f9496885b9779 100644
--- a/webrtc/p2p/base/transportchannel.h
+++ b/webrtc/p2p/base/transportchannel.h
@@ -128,8 +128,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,

Powered by Google App Engine
This is Rietveld 408576698