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

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

Issue 1269843005: Added DtlsCertificate, a ref counted object owning an SSLIdentity (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Merge with master Created 5 years, 4 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.cc
diff --git a/webrtc/p2p/base/transportchannelproxy.cc b/webrtc/p2p/base/transportchannelproxy.cc
index 79772514c69a3adc3b53172a688732d1c6ef5e5e..f27b7cb6f5e3af60ad4a46225ec967e8208e09e7 100644
--- a/webrtc/p2p/base/transportchannelproxy.cc
+++ b/webrtc/p2p/base/transportchannelproxy.cc
@@ -189,13 +189,13 @@ bool TransportChannelProxy::GetSslCipher(std::string* cipher) {
return impl_->GetSslCipher(cipher);
}
-bool TransportChannelProxy::GetLocalIdentity(
- rtc::SSLIdentity** identity) const {
+bool TransportChannelProxy::GetLocalCertificate(
+ rtc::scoped_refptr<webrtc::DtlsCertificate>* certificate) const {
ASSERT(rtc::Thread::Current() == worker_thread_);
if (!impl_) {
return false;
}
- return impl_->GetLocalIdentity(identity);
+ return impl_->GetLocalCertificate(certificate);
}
bool TransportChannelProxy::GetRemoteCertificate(

Powered by Google App Engine
This is Rietveld 408576698