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

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

Issue 1304043008: Replacing SSLIdentity* with scoped_refptr<RTCCertificate> in TransportChannel layer (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 3 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/transportchannelproxy.h
diff --git a/webrtc/p2p/base/transportchannelproxy.h b/webrtc/p2p/base/transportchannelproxy.h
index 3a69bccb4c0a818f9b4a654624a05e58e86efb6c..83bc5d4e47904305f324fefe7a9dd1a0cb12dbac 100644
--- a/webrtc/p2p/base/transportchannelproxy.h
+++ b/webrtc/p2p/base/transportchannelproxy.h
@@ -60,8 +60,9 @@ class TransportChannelProxy : public TransportChannel,
virtual bool SetSrtpCiphers(const std::vector<std::string>& ciphers);
virtual bool GetSrtpCipher(std::string* cipher);
virtual bool GetSslCipher(std::string* cipher);
- virtual bool GetLocalIdentity(rtc::SSLIdentity** identity) const;
- virtual bool GetRemoteCertificate(rtc::SSLCertificate** cert) const;
+ bool GetLocalCertificate(
+ rtc::scoped_refptr<rtc::RTCCertificate>* certificate) const override;
+ bool GetRemoteSSLCertificate(rtc::SSLCertificate** cert) const override;
virtual bool ExportKeyingMaterial(const std::string& label,
const uint8* context,
size_t context_len,

Powered by Google App Engine
This is Rietveld 408576698